blob: a95ae527d8c897bd3041ff7e3c84956227cdd4e2 (
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
|
# $Id$
# Maintainer: Sébastien Faucheux <faucheux.seb@gmail.com>
pkgname=gnome-settings-daemon-shutdown
_pkgname=gnome-settings-daemon
pkgver=3.30.1.2
pkgrel=1
pkgdesc="The GNOME Settings daemon with shutdown button action"
arch=(x86_64)
license=(GPL)
depends=(dconf gnome-desktop gsettings-desktop-schemas libcanberra-pulse libnotify libsystemd
libwacom pulseaudio pulseaudio-alsa upower librsvg libgweather geocode-glib geoclue2 nss
libgudev gtk3-print-backends libnm)
makedepends=(xf86-input-wacom libxslt docbook-xsl python git meson)
url="https://git.gnome.org/browse/gnome-settings-daemon"
groups=(gnome)
provides=('gnome-settings-daemon')
conflicts=('gnome-settings-daemon')
_commit=0e5951b4201d2363221d1ddf319fcd313ee39b28 # tags/GNOME_SETTINGS_DAEMON_3_30_1_2^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-settings-daemon.git#commit=$_commit"
"git+https://git.gnome.org/browse/libgnome-volume-control"
shutdown.patch)
sha256sums=('SKIP'
'SKIP'
'cd2136653c24f85865b9011fdc3620448b771d9c50a7e7e16191c352ff02feda')
prepare() {
cd $_pkgname
git submodule init
git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
git submodule update
patch -Np1 -i ../shutdown.patch
}
pkgver() {
cd $_pkgname
git describe --tags | sed 's/^GNOME_SETTINGS_DAEMON_//;s/_/./g;s/-/+/g'
}
build() {
arch-meson $_pkgname build
ninja -C build
}
check() {
cd build
# Needs python-dbusmock
#meson test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
|