1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=indicator-session
5 pkgdesc="Quick! Change your status. Switch users. Close your session. All provided by the The Session Menu these tasks are conviniently placed in the upper-right corner of the desktop to make them available and easy to use"
7 url="https://launchpad.net/indicator-session"
9 depends=('libindicator>=0.3.19' 'libdbusmenu>=0.4.92' 'dbus-glib' 'dconf')
10 true && depends=('libindicator3>=0.3.19' 'libdbusmenu-gtk3>=0.4.92' 'dbus-glib' 'dconf')
11 makedepends=('intltool>=0.35.0')
12 optdepends=('gnome-control-center: open system settings from User and Device menus'
13 'gnome-session: shutdown and logout from Device menu'
14 'gnome-screensaver: lock the screen from Device menu'
15 'system-config-printer-gnome: launch printer config tool from Device menu'
16 'simple-scan: launch scanner app from Device menu'
17 'cheese: launch webcam app from Device menu')
19 install=$pkgname.install
20 source=(http://launchpad.net/$pkgname/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz
22 make-gtklogouthelper-optional.patch
23 make-apt-optional.patch)
24 md5sums=('3c18fa9d4489a29c3ad091379b4b3fcb'
25 '9290c0445e61af4c74abd742f559ecec'
26 '971c7e6eb6f8981533944b3253e86a82'
27 '530790ce0b105cf4ab31509febd90539')
30 cd "$srcdir/$pkgname-$pkgver"
31 patch -Np1 -i "$srcdir/fix-location.patch"
32 patch -Np1 -i "$srcdir/make-gtklogouthelper-optional.patch"
33 patch -Np1 -i "$srcdir/make-apt-optional.patch"
36 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
37 --disable-static --disable-schemas-compile --disable-gtklogouthelper --disable-apt
42 cd "$srcdir/$pkgname-$pkgver"
44 make DESTDIR="$pkgdir/" install