summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2017-04-17 09:23:12 -0400
committerTed Alff2017-04-17 09:23:12 -0400
commitc1070b9e3af56c231b2f2977f27610082355e004 (patch)
tree45335d09e41623469d1efc48d246a95470690e6c
parented754a4b7c2c655976958cf0299fda94657f1723 (diff)
downloadaur-c1070b9e3af56c231b2f2977f27610082355e004.tar.gz
Remove upower dependency; libsm and xorg-xrdb satisfied by other deps. Compilation with polkit can be toggled with the _enable_polkit flag.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c89aaf92d77..aa728a3e19f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Apr 16 18:07:12 UTC 2017
+# Mon Apr 17 13:21:43 UTC 2017
pkgbase = xfce4-session-devel
pkgdesc = A session manager for Xfce
pkgver = 4.13.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.xfce.org/
arch = i686
arch = x86_64
@@ -11,16 +11,12 @@ pkgbase = xfce4-session-devel
license = GPL2
makedepends = intltool
makedepends = xfce4-dev-tools
- makedepends = polkit
depends = libxfce4ui
depends = libwnck3
- depends = libsm
depends = xorg-iceauth
- depends = upower
depends = xorg-xinit
- depends = xorg-xrdb
depends = hicolor-icon-theme
- optdepends = polkit: polkit support
+ depends = polkit
optdepends = gnome-keyring: for keyring support when GNOME compatibility is enabled
optdepends = xscreensaver: for locking screen with xflock4
optdepends = gnome-screensaver: for locking screen with xflock4
diff --git a/PKGBUILD b/PKGBUILD
index 3017a26e8c2..be6c0a4822c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,20 @@
# Maintainer: twa022 <twa022 at gmail dot com>
+# 0: no, 1: yes
+_enable_polkit=1
+
_pkgname=xfce4-session
pkgname=${_pkgname}-devel
pkgver=4.13.0
-pkgrel=1
+pkgrel=2
pkgdesc="A session manager for Xfce"
arch=('i686' 'x86_64')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
-depends=('libxfce4ui' 'libwnck3' 'libsm' 'xorg-iceauth' 'upower' 'xorg-xinit'
- 'xorg-xrdb' 'hicolor-icon-theme')
-makedepends=('intltool' 'xfce4-dev-tools' 'polkit')
-optdepends=('polkit: polkit support'
- 'gnome-keyring: for keyring support when GNOME compatibility is enabled'
+depends=('libxfce4ui' 'libwnck3' 'xorg-iceauth' 'xorg-xinit' 'hicolor-icon-theme')
+makedepends=('intltool' 'xfce4-dev-tools')
+optdepends=('gnome-keyring: for keyring support when GNOME compatibility is enabled'
'xscreensaver: for locking screen with xflock4'
'gnome-screensaver: for locking screen with xflock4'
'xlockmore: for locking screen with xflock4')
@@ -23,6 +24,8 @@ replaces=('xfce-utils')
source=(http://archive.xfce.org/src/xfce/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2)
sha256sums=('3e02b124c6a282d9b1af0b30696d5256b1c2e56618992b49062314ed3ea5d3a1')
+[[ ${_enable_polkit} -eq 1 ]] && depends+=( 'polkit' )
+
build() {
cd "$srcdir/$_pkgname-$pkgver"