diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-08 13:40:47 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-08 14:32:55 +0100 |
commit | 5e0f583660d70d633152b9639af6b52e6f690090 (patch) | |
tree | 361e6c35245cbfb031ee399a9d3d441768480d8e /kde-plasma/kscreenlocker | |
parent | dev-lang/ruby: Added sys-libs/readline to RDEPEND. (diff) | |
download | gentoo-5e0f583660d70d633152b9639af6b52e6f690090.tar.gz gentoo-5e0f583660d70d633152b9639af6b52e6f690090.tar.bz2 gentoo-5e0f583660d70d633152b9639af6b52e6f690090.zip |
kde-plasma: Add KDE Plasma 5.14.5
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.14.5.ebuild | 96 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/metadata.xml | 3 |
3 files changed, 100 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 8d1deb241ea7..e7df6d3933c8 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.14.3.tar.xz 122280 BLAKE2B 03182f4ffa11727606221e8c0c77f610c18ced1392ac0059e743074cb80cb80b35cc0a5e82f6cc3457df493599e0223b5bb2bef134c45e780ba7ecb649496772 SHA512 186f693a931936658624274c7de77e8cb06c433355932a17a6c600c6cf349f848b90642b613c786c0585f050599a545d0e596d81968a6ec0b7188eb34a6e2a71 DIST kscreenlocker-5.14.4.tar.xz 122128 BLAKE2B 8a6e6caba1c93b50f7ebed7f50e21eaffcff457a9bfb96de82e67cd1de44ed25a793a66fec3f495b3ead26f5f710f9297d332bf6dd1c5e8d19ba07f9ea004b59 SHA512 ec6a8f768ef20cdf07f278ce6bf6b63537b44fee4f4f460aeee428df9734b3d660ec2c409640b250bcf246b5acccf404d369f7826c61dcd4fb2546130a417151 +DIST kscreenlocker-5.14.5.tar.xz 122232 BLAKE2B 652d8f2981231278d8890d2599466a86ca8530c44a2b6379631d575c457a573031672529313921fd87fbef6859302d8364ebf4769430941326e9c2ecc0d5196e SHA512 49348f137645333484be93922ec167403c74fce751294dbd02ffeedde6279ff0a0db8abc12153541612d4aeb6d6ed646b7f5ab22b78a8b80ae5eb37fa16f0e1d diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.14.5.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.14.5.ebuild new file mode 100644 index 000000000000..67cc582043f0 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.14.5.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2019 Gentoo Authors +# 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 + consolekit? ( sys-auth/consolekit ) + pam? ( virtual/pam ) + seccomp? ( sys-libs/libseccomp ) +" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto +" +RDEPEND="${COMMON_DEPEND} + !<kde-plasma/kcheckpass-4.11.22-r1:4 + !kde-plasma/kdebase-pam:0 +" +PDEPEND=" + $(add_plasma_dep kde-cli-tools) +" + +RESTRICT+=" test" + +src_prepare() { + kde5_src_prepare + + 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=( + $(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) + ) + kde5_src_configure +} + +src_install() { + kde5_src_install + + use pam && newpamd "${FILESDIR}/kde.pam" kde + use pam && newpamd "${FILESDIR}/kde-np.pam" kde-np + + if ! use pam; then + chown root "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die + chmod +s "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die + fi +} diff --git a/kde-plasma/kscreenlocker/metadata.xml b/kde-plasma/kscreenlocker/metadata.xml index 2fdbf33d963d..7c59355b622c 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> |