diff options
Diffstat (limited to 'extra/xfce4-session/PKGBUILD')
-rw-r--r-- | extra/xfce4-session/PKGBUILD | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/extra/xfce4-session/PKGBUILD b/extra/xfce4-session/PKGBUILD index 2b472ad34..0d967f22a 100644 --- a/extra/xfce4-session/PKGBUILD +++ b/extra/xfce4-session/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 189759 2013-07-07 14:26:30Z foutrelis $ +# $Id: PKGBUILD 194429 2013-09-16 10:38:03Z foutrelis $ # Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: tobias <tobias funnychar archlinux.org> pkgname=xfce4-session pkgver=4.10.1 -pkgrel=2 +pkgrel=3 pkgdesc="A session manager for Xfce" arch=('i686' 'x86_64') url="http://www.xfce.org/" @@ -20,8 +20,20 @@ optdepends=('gnome-keyring: for keyring support when GNOME compatibility is enab replaces=('xfce-utils') options=('!libtool') install=$pkgname.install -source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2) -sha256sums=('0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83') +source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2 + xfce4-session-4.10.1-logind-support-for-suspend-hibernate.patch) +sha256sums=('0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83' + '1fc10b6495624ddfb9e18419c835f7b929ad738c602a64ee7aab8327d3aac981') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # Use logind interfaces for suspend and hibernate + # https://bugzilla.xfce.org/show_bug.cgi?id=9952 + patch -Np1 -i "$srcdir/xfce4-session-4.10.1-logind-support-for-suspend-hibernate.patch" + + xdt-autogen +} build() { cd "$srcdir/$pkgname-$pkgver" |