# Maintainer: Robin Visser # Contributor: Filip Hendrik # Contributor: Rowan Lewis pkgname=gnome-settings-daemon-volume-step-patch pkgver=3.24.3 pkgrel=1 pkgdesc="GNOME Settings daemon with an additional patch to allow configuration of volume steps" url="http://www.gnome.org" 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=(intltool xf86-input-wacom libxslt docbook-xsl python git gnome-common) provides=('gnome-settings-daemon') conflicts=('gnome-settings-daemon') options=('!emptydirs') install=gnome-settings-daemon.install groups=('gnome') source=(https://download.gnome.org/sources/${pkgname:0:21}/${pkgver:0:4}/${pkgname:0:21}-$pkgver.tar.xz volume-step.patch) sha256sums=('68c46038bc32b7cbe933cc24fa9f1eb96127d9900c07627767ab0a802f948593' '754b89fbb2fd1da0f431e53b9aeaab511734234031c57c62d4747cfafeef2438') prepare() { cd ${pkgname:0:21}-$pkgver # https://bugzilla.gnome.org/show_bug.cgi?id=650371 patch -p1 -i ../volume-step.patch } build() { cd ${pkgname:0:21}-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib/${pkgname:0:21} --disable-static # https://bugzilla.gnome.org/show_bug.cgi?id=656231 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd ${pkgname:0:21}-$pkgver make DESTDIR="$pkgdir" install }