summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-05-01 19:49:23 +0200
committerJohannes Huber <johu@gentoo.org>2018-05-01 20:03:50 +0200
commitf7e157cdee1cc431b0af77e88baf2b69c9fa2998 (patch)
treeca7bdf78508e0bcbcb534da36fefcbf489a5ea05 /kde-plasma/kscreenlocker
parentwww-client/chromium: depend on >=media-video/ffmpeg-4 (diff)
downloadgentoo-f7e157cdee1cc431b0af77e88baf2b69c9fa2998.tar.gz
gentoo-f7e157cdee1cc431b0af77e88baf2b69c9fa2998.tar.bz2
gentoo-f7e157cdee1cc431b0af77e88baf2b69c9fa2998.zip
kde-plasma: Version bump KDE Plasma 5.12.5
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r--kde-plasma/kscreenlocker/Manifest1
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.12.5.ebuild96
2 files changed, 97 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index dbb129dc6c89..bbcaf9be7b92 100644
--- a/kde-plasma/kscreenlocker/Manifest
+++ b/kde-plasma/kscreenlocker/Manifest
@@ -1,2 +1,3 @@
DIST kscreenlocker-5.11.5.tar.xz 125528 BLAKE2B 32bad30682da09245cc567f3cb79c0e0fd4ffdba26b47ef0c49c3094374503640cab7718033cb9c366ef7acddb6180995f4121b61ed1d04bbd867e1361e9d7ea SHA512 20eefbb4f970b2476d3df2e36bf74021d854f0ba61cba4946b3fc7190cff9edc9fef753d3bdde24ab135cc0dc5ad826cb22063db7b12ce817007355a98a3011a
DIST kscreenlocker-5.12.4.tar.xz 118380 BLAKE2B 12c3b382fe4f78c3696be137d0d5eea5b99b2ef698982d9757380b194422d3a606dd336d7ba27eed9c4e9200e510cf1a1d186a8125f4c0925bf95f932fa7c43a SHA512 d967b6891c2ee83a1fef4b564e95ad1468803db26c0aa8657048e7d94279eea17b75f007c44e90727a4b5689765413055e64ff49800631e9a4db1fb047ce41ed
+DIST kscreenlocker-5.12.5.tar.xz 118332 BLAKE2B 87705ff5aff4d73c8b7823f4aa505be282fa9a152352aacf1682d5d7f4dff06fdca1b39d30a43dddd6c0dbfd267586d2a74bbdbd8bdacf487a251cb496311dce SHA512 c07cae22cc4500aeb4d38388d2033a677171659a76d81ff55155a97aca439babcb912f47586697657c7944c80b0d250770ed3a080fad0ed9463058dc879f390a
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.12.5.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.12.5.ebuild
new file mode 100644
index 000000000000..72147a85230b
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.12.5.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5 pam
+
+DESCRIPTION="Library and components for secure lock screen architecture"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="consolekit +pam seccomp"
+
+REQUIRED_USE="seccomp? ( pam )"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdeclarative)
+ $(add_frameworks_dep kglobalaccel)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kidletime)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kpackage)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwayland)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep solid)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative 'widgets')
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtx11extras)
+ dev-libs/wayland
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ pam? ( virtual/pam )
+ seccomp? ( sys-libs/libseccomp )
+"
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_plasma_dep kde-cli-tools)
+ !<kde-plasma/kcheckpass-4.11.22-r1:4
+ !kde-plasma/kdebase-pam:0
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+ kde5_src_prepare
+
+ use consolekit && eapply "${FILESDIR}"/${PN}-consolekit-unlock.patch
+
+ use test || sed -i \
+ -e "/add_subdirectory(autotests)/ s/^/#/" greeter/CMakeLists.txt || die
+}
+
+src_test() {
+ # requires running environment
+ local myctestargs=(
+ -E x11LockerTest
+ )
+ kde5_src_test
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DPAM_REQUIRED=$(usex pam)
+ $(cmake-utils_use_find_package pam PAM)
+ $(cmake-utils_use_find_package seccomp Seccomp)
+ )
+ kde5_src_configure
+}
+
+src_install() {
+ kde5_src_install
+
+ newpamd "${FILESDIR}/kde.pam" kde
+ newpamd "${FILESDIR}/kde-np.pam" kde-np
+
+ use consolekit && dobin "${FILESDIR}"/ck-unlock-session
+
+ if ! use pam; then
+ chown root "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
+ chmod +s "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
+ fi
+}