diff options
author | Fabian Bornschein | 2021-05-24 00:12:33 +0200 |
---|---|---|
committer | Fabian Bornschein | 2021-05-24 00:12:33 +0200 |
commit | cd6f9e8b2727ee390a7d78e695735b65c6f8b3cb (patch) | |
tree | 61032c5d32d2014c67a70d04a8ec6cc6c53673d9 /PKGBUILD | |
download | aur-cd6f9e8b2727ee390a7d78e695735b65c6f8b3cb.tar.gz |
No one is perfect – that’s why pencils have erasers. -- Wolfgang Riebe
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a02d7a1ff9ab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Fabian Bornschein <fabiscafe-cat-mailbox-dog-org> +# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org> + +pkgname=gnome-settings-daemon-oldstable +pkgver=3.38.2 +pkgrel=2 +pkgdesc="GNOME Settings Daemon" +url="https://gitlab.gnome.org/GNOME/gnome-settings-daemon" +conflicts=("gnome-settings-daemon") +provides=("gnome-settings-daemon=$pkgver") +replaces=("gnome-settings-daemon") +arch=(x86_64) +license=(GPL) +depends=(dconf gnome-desktop gsettings-desktop-schemas-oldstable libcanberra-pulse libnotify systemd-libs + libwacom pulseaudio pulseaudio-alsa upower librsvg libgweather geocode-glib geoclue nss + libgudev gtk3 libnm gcr) +makedepends=(xf86-input-wacom libxslt docbook-xsl python git meson usbguard) +checkdepends=(python-gobject python-dbusmock) +optdepends=('usbguard: USB protection support') +groups=(gnome-oldstable) +backup=(etc/xdg/Xwayland-session.d/00-xrdb) +_commit=e9c5057315d5e3fbb90482bb054e250773aad9ab # tags/GNOME_SETTINGS_DAEMON_3_38_2^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-settings-daemon.git#commit=$_commit" + "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git") +sha256sums=('SKIP' + 'SKIP') + +pkgver() { + cd gnome-settings-daemon + git describe --tags | sed 's/^GNOME_SETTINGS_DAEMON_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd gnome-settings-daemon + + git submodule init + git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control" + git submodule update +} + +build() { + arch-meson gnome-settings-daemon build + meson compile -C build +} + +check() { + # Check might fail without clean build env. Continue building in any case. + meson test -C build --print-errorlogs || true +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} |