xfce-base/xfce4-session: Add USE=elogind equiv to USE=systemd
authorMichał Górny <mgorny@gentoo.org>
Sun, 31 Mar 2019 18:07:55 +0000 (20:07 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 31 Mar 2019 18:19:59 +0000 (20:19 +0200)
Add USE=elogind that works the same as USE=systemd, i.e. pulls policykit
flag in.  We eventually want to probably rewrite this to something saner
but let's settle with this for now.

Closes: https://bugs.gentoo.org/682126
Signed-off-by: Michał Górny <mgorny@gentoo.org>
xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild
xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild

index d1d259d55cc472ab0c05f9dbf5bf47ca4214feef..fb38eb67cbc42d8079175f12941a3acdc3f00d1b 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="nls policykit systemd upower +xscreensaver"
+IUSE="elogind nls policykit systemd upower +xscreensaver"
 
 COMMON_DEPEND=">=dev-libs/dbus-glib-0.100:=
        x11-apps/iceauth
@@ -40,7 +40,8 @@ DEPEND="${COMMON_DEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
-REQUIRED_USE="systemd? ( policykit )"
+REQUIRED_USE="elogind? ( policykit )
+       systemd? ( policykit )"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.10.1-alock_support_to_xflock4.patch
index 21a95bdda8f800b4e105ecdd5b37f9a9b009f27f..67b5f3f2722b03d336f630a6f2b37f289417648a 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="nls policykit systemd +xscreensaver"
+IUSE="elogind nls policykit systemd +xscreensaver"
 
 COMMON_DEPEND="x11-apps/iceauth
        >=x11-libs/gtk+-3.20:3=
@@ -37,7 +37,8 @@ DEPEND="${COMMON_DEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
-REQUIRED_USE="systemd? ( policykit )"
+REQUIRED_USE="elogind? ( policykit )
+       systemd? ( policykit )"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.10.1-alock_support_to_xflock4.patch