summaryrefslogtreecommitdiff
path: root/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-19 16:26:29 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-19 16:31:53 +0100
commitc3758fb419000d29f4f154aec21b744e89706361 (patch)
tree559251ad72380eaf6748d74477b2dfa0496e70dc /kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
parent03946ad3b56f2fffca48af4823968df36e2b1164 (diff)
downloadkde-c3758fb419000d29f4f154aec21b744e89706361.tar.gz
kde-c3758fb419000d29f4f154aec21b744e89706361.tar.bz2
kde-c3758fb419000d29f4f154aec21b744e89706361.zip
kde-plasma/kscreenlocker: Add USE consolekit
Make sure that ck-unlock-session is installed even if upstream cmake is detecting elogind or systemd. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild')
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
index 7e05bd42d24..8fa1d15952a 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ inherit kde5 pam
DESCRIPTION="Library and components for secure lock screen architecture"
KEYWORDS=""
-IUSE="+pam seccomp"
+IUSE="consolekit +pam seccomp"
REQUIRED_USE="seccomp? ( pam )"
@@ -41,6 +41,7 @@ COMMON_DEPEND="
x11-libs/libXi
x11-libs/libxcb
x11-libs/xcb-util-keysyms
+ consolekit? ( sys-auth/consolekit )
pam? ( virtual/pam )
seccomp? ( sys-libs/libseccomp )
"
@@ -74,6 +75,7 @@ src_test() {
src_configure() {
local mycmakeargs=(
+ $(cmake-utils_use_find_package consolekit loginctl)
-DPAM_REQUIRED=$(usex pam)
$(cmake-utils_use_find_package pam PAM)
$(cmake-utils_use_find_package seccomp Seccomp)