blob: e76c88b40c55cce8a917b684599f2f30416d794a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# Maintainer (arch): Fabian Bornschein <fabiscafe-at-mailbox-dot-org>
# Maintainer (arch): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Andreas Grapentin <andreas@grapentin.org>
# Contributor: Isaac David <isacdaavid@at@isacdaavid.info>
# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe>
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>
# parabola changes and rationale:
# - removed geoclue support
pkgname=gnome-settings-daemon
pkgver=45.0
pkgrel=1
pkgrel+=.nonprism1
pkgdesc="GNOME Settings Daemon"
pkgdesc+=", without geoclue support"
url="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
arch=(x86_64)
arch+=(armv7h i686)
license=(GPL)
depends=(
dconf
gcr-4
geoclue
geocode-glib-2
gnome-desktop
gsettings-desktop-schemas
gtk3
libcanberra-pulse
libgudev
libgweather-4
libnm
libnotify
librsvg
libwacom
nss
pulseaudio
pulseaudio-alsa
systemd
upower
)
depends=( ${depends[*]/geoclue/} ) # privacy
makedepends=(
docbook-xsl
git
libxslt
meson
python
usbguard
)
makedepends+=(libmm-glib) # gnome-settings-daemon/meson.build:220:16: ERROR: Dependency "mm-glib" not found, tried pkgconfig
checkdepends=(
python-dbusmock
python-gobject
)
optdepends=('usbguard: USB protection support')
groups=(gnome)
backup=(etc/xdg/Xwayland-session.d/00-xrdb)
_commit=ed2173a812a820d3e7aaa8107e554f9e6068684f # tags/45.0^0
source=(
"git+https://gitlab.gnome.org/GNOME/gnome-settings-daemon.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
)
source+=(nonprism.patch)
b2sums=('SKIP'
'SKIP')
b2sums+=('5bccb162d6fa29940b77ca50fe64190522029424ded00af7e121748726a9b5a730bc637730f0322af45da0ce883af97bc31cd760e88602a0f1ed582889fa59c2')
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
git submodule init
git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
git -c protocol.file.allow=always submodule update
echo "applying nonprism.patch"
patch -p1 -i $srcdir/nonprism.patch
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|