commit:     3d8ffcc9eeb16d9245969085b169fa73acbdd43d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 31 18:07:55 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 31 18:19:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8ffcc9

xfce-base/xfce4-session: Add USE=elogind equiv to USE=systemd

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 <AT> gentoo.org>

 xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild | 5 +++--
 xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild 
b/xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild
index d1d259d55cc..fb38eb67cbc 100644
--- a/xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild
+++ b/xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild
@@ -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

diff --git a/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild 
b/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild
index 21a95bdda8f..67b5f3f2722 100644
--- a/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild
+++ b/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild
@@ -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

Reply via email to