changeset 806:58438f6471cf

xfce/xfce4-session: fix options
author David Demelier <markand@malikania.fr>
date Sun, 18 Aug 2019 21:22:25 +0200
parents 5c489ef232dc
children 2e0fe4608012
files xfce/xfce4-session/xfce4-session.sh
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/xfce/xfce4-session/xfce4-session.sh	Sun Aug 18 20:20:13 2019 +0200
+++ b/xfce/xfce4-session/xfce4-session.sh	Sun Aug 18 21:22:25 2019 +0200
@@ -31,7 +31,7 @@
             xfce/libxfce4ui
             xfce/libxfce4util
             xfce/xfconf"
-PKGOPTIONS="NLS POLKIT UPOWER"
+PKGOPTIONS="NLS POLKIT"
 
 : ${CC:=clang}
 : ${CFLAGS:=-O2}
@@ -39,7 +39,6 @@
 : ${LIBS:=}
 : ${NLS:=yes}
 : ${POLKIT:=yes}
-: ${UPOWER:=no}         #  TODO: set to yes once we have upower
 
 if [ "$NLS" = "yes" ]; then
 	PKGDEPENDS="core/gettext:build $PKGDEPENDS"
@@ -55,13 +54,6 @@
 	with_polkit="--disable-polkit"
 fi
 
-if [ "$UPOWER" = "yes" ]; then
-	PKGDEPENDS="system/upower $PKGDEPENDS"
-	with_upower="--enable-upower"
-else
-	with_upower="--disable-upower"
-fi
-
 build()
 {
 	rm -rf $PKGNAME-$PKGVERSION
@@ -76,6 +68,7 @@
 		--prefix= \
 		--localedir=/share/locale \
 		--with-locales-dir=/share/locale \
+		--with-xsession-prefix= \
 		$with_nls \
 		$with_polkit \
 		$with_upower