blob: 1850a815e9a91d6b7df7809280b21f8da071270e (
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
|
# $Id: PKGBUILD 268868 2016-06-03 12:09:10Z jgc $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=gnome-settings-daemon
pkgver=3.20.1+8+g40bf4fd
pkgrel=1.nonprism1
pkgdesc="The GNOME Settings daemon, without geoclue2 support"
arch=(i686 x86_64)
license=(GPL)
depends=(dconf gnome-desktop gsettings-desktop-schemas libcanberra-pulse
libnotify libsystemd libwacom pulseaudio pulseaudio-alsa upower
librsvg libgweather geocode-glib nss libgudev libnm-glib)
makedepends=(intltool xf86-input-wacom libxslt docbook-xsl python git gnome-common)
options=('!emptydirs')
url="http://www.gnome.org"
groups=(gnome)
source=('git://git.gnome.org/gnome-settings-daemon#commit=40bf4fdce0001c662094f47e8edc1b0855ec9632'
nonprism.patch)
sha256sums=('SKIP'
'27fba52c36ee9d072e9602e843af55d970f128eb7ede1a828e86ea874765b1a6')
pkgver() {
cd $pkgname
git describe --long | sed -e 's/-/+/g' -e 's/^GNOME_SETTINGS_DAEMON_//' -e 's/_/./g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
patch -p1 -i $srcdir/nonprism.patch
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname --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
make DESTDIR="$pkgdir" install
}
|