From 1a6fa659a609adbca78b9a65fa217e20b9abf6ea Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Fri, 14 Aug 2015 21:32:44 +0800 Subject: [PATCH] sys-auth/consolekit: Make pm-utils optional Added the pm-utils useflag which is default enabled. Gentoo-Bug: https://bugs.gentoo.org/557432 Package-Manager: portage-2.2.20.1 --- sys-auth/consolekit/consolekit-1.0.0.ebuild | 6 +++--- sys-auth/consolekit/metadata.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sys-auth/consolekit/consolekit-1.0.0.ebuild b/sys-auth/consolekit/consolekit-1.0.0.ebuild index 43253beefee4..9bce1e6a088e 100644 --- a/sys-auth/consolekit/consolekit-1.0.0.ebuild +++ b/sys-auth/consolekit/consolekit-1.0.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="http://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux" -IUSE="acl cgroups debug doc kernel_linux pam policykit selinux test" +IUSE="acl cgroups debug doc kernel_linux pam +pm-utils policykit selinux test" COMMON_DEPEND=">=dev-libs/glib-2.40:2= >=sys-devel/gettext-0.19 @@ -34,8 +34,8 @@ COMMON_DEPEND=">=dev-libs/glib-2.40:2= policykit? ( >=sys-auth/polkit-0.110 )" RDEPEND="${COMMON_DEPEND} kernel_linux? ( sys-apps/coreutils[acl?] ) - selinux? ( sec-policy/selinux-consolekit ) - sys-power/pm-utils" + pm-utils? ( sys-power/pm-utils ) + selinux? ( sec-policy/selinux-consolekit )" DEPEND="${COMMON_DEPEND} dev-libs/libxslt virtual/pkgconfig diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml index 47e5fd752138..37eb9aa59143 100644 --- a/sys-auth/consolekit/metadata.xml +++ b/sys-auth/consolekit/metadata.xml @@ -7,6 +7,7 @@ Use the kernel to track processes instead of the session cookie. + Adds support for suspend/resume using sys-power/pm-utils Use the PolicyKit framework (sys-auth/polkit) to get authorization for suspend/shutdown. Install systemd unit files to replace the modern functionality of logind in sys-apps/systemd. Not recommended. -- 2.26.2