summaryrefslogtreecommitdiff
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
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>
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.14.49.9999.ebuild4
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild6
-rw-r--r--kde-plasma/kscreenlocker/metadata.xml3
3 files changed, 10 insertions, 3 deletions
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.14.49.9999.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.14.49.9999.ebuild
index 1bbfc3a5bb2..8fa1d15952a 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-5.14.49.9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.14.49.9999.ebuild
@@ -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)
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)
diff --git a/kde-plasma/kscreenlocker/metadata.xml b/kde-plasma/kscreenlocker/metadata.xml
index 2fdbf33d963..7c59355b622 100644
--- a/kde-plasma/kscreenlocker/metadata.xml
+++ b/kde-plasma/kscreenlocker/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="consolekit">Support for killing the screenlocker when <pkg>sys-auth/consolekit</pkg> is the session tracker</flag>
+ </use>
</pkgmetadata>