blob: f73a909777b5eb11f612d7cf21171bc994378d98 (
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
# Maintainer: Raihan Ahamed (raihan2000) <raihan1999ahamed@gmail.com>
# Contributor: Fabian Bornschein <fabiscafe@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=gnome-settings-daemon-mobile
pkgdesc="GNOME Settings Daemon"
pkgver=46.r0.gee5d1b2
pkgrel=1
arch=(
any
)
license=(
GPL-2.0-or-later
LGPL-2.0-or-later
)
url="https://gitlab.gnome.org/verdre/gnome-settings-daemon-mobile"
depends=(
alsa-lib
bash
cairo
dconf
fontconfig
gcc-libs
gcr-4
geoclue
geocode-glib-2
glib2
glibc
gnome-desktop
gsettings-desktop-schemas
gtk3
libcanberra-pulse
libcolord
libcups
libgudev
libgweather-4
libmm-glib
libnm
libnotify
libp11-kit
libpulse
librsvg
libwacom
libx11
libxext
libxfixes
libxi
nss
pango
polkit
pulse-native-provider
systemd
systemd-libs
upower
wayland
xorg-xrdb
)
makedepends=(
docbook-xsl
git
glib2-devel
libxslt
meson
python
usbguard
)
checkdepends=(
python-dbusmock
python-gobject
)
optdepends=("usbguard: USB protection support")
groups=(gnome)
backup=(etc/xdg/Xwayland-session.d/00-xrdb)
_commit=ee5d1b246da9ac5bdd635e3d5afb322ecacc3912 # 46-mobile-0
source=(
"git+https://gitlab.gnome.org/verdre/gnome-settings-daemon-mobile.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
0001-subprojects-Update-gvc-to-latest-commit.patch
)
sha256sums=(
e36313bb07782697b14570beb78b2afaf1823986db2548b341dd99c5aff03379
SKIP
9eca57b6f1c465ab6d70aeabf755edcc727474bfb58505b16a0398abbf2a0b75
)
pkgver() {
cd $pkgname
git describe --long --tags --abbrev=7 "$_commit" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g; s/.mobile.0//'
}
prepare() {
cd $pkgname
git apply -3 ../0001-subprojects-Update-gvc-to-latest-commit.patch
git submodule init
git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
git -c protocol.file.allow=always -c protocol.allow=never submodule update
}
build() {
arch-meson $pkgname build
meson compile -C build
}
#check() {
# meson test -C build --print-errorlogs
#}
package() {
conflicts=(gnome-settings-daemon)
provides=(gnome-settings-daemon=1:$pkgver)
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
|