1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-session-ubuntu
8 pkgdesc="The GNOME Session Handler with Ubuntu's modifications"
10 license=('GPL' 'LGPL')
11 depends=('upower' 'gtk3' 'gconf' 'json-glib' 'startup-notification' 'hicolor-icon-theme' 'libxtst' 'polkit-gnome' 'libgl' 'gsettings-desktop-schemas' 'consolekit' 'libsm' 'dconf')
12 makedepends=('intltool' 'mesa' 'xtrans')
13 provides=("gnome-session=$pkgver")
14 conflicts=('gnome-session')
15 options=('!emptydirs')
16 install=gnome-session.install
17 url="http://www.gnome.org"
19 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz
20 95_dbus_request_shutdown.patch)
21 sha256sums=('a87dcf57fec83cc8fad4e7b84542c5005a70a2107d184f247f0b112f07a043b3'
22 '49cbbbeecf1ae3adae42c3a34d7b5769ed90d1cbe1303d01637a02f63ca5f089')
25 cd "${srcdir}/${_pkgname}-${pkgver}"
27 # Add "RequestShutdown" and "RequestReboot" DBus methods (required for indicator-session)
28 patch -Np1 -i "${srcdir}/95_dbus_request_shutdown.patch"
30 ./configure --prefix=/usr --sysconfdir=/etc \
31 --localstatedir=/var --libexecdir=/usr/lib/gnome-session \
32 --disable-schemas-compile
37 cd "${srcdir}/${_pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}" install