diff options
author | Johannes Huber <johu@gentoo.org> | 2018-03-28 22:46:29 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2018-03-28 23:01:25 +0200 |
commit | 7b987bb059c77d82ef9b24b535e8a09430b9ac35 (patch) | |
tree | 202828e2af1320fe8f4218cb1aea662295840a78 /kde-plasma/kscreenlocker | |
parent | media-libs/openjpeg: Fix 2.3.0 USE=static-libs compile (diff) | |
download | gentoo-7b987bb059c77d82ef9b24b535e8a09430b9ac35.tar.gz gentoo-7b987bb059c77d82ef9b24b535e8a09430b9ac35.tar.bz2 gentoo-7b987bb059c77d82ef9b24b535e8a09430b9ac35.zip |
kde-plasma: Version bump KDE Plasma 5.12.4
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.12.4.ebuild | 96 |
2 files changed, 97 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index e31bc006b584..7c35df91ef46 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.3.tar.xz 118296 BLAKE2B bc4a5b05eede73bc8d4a3f9752ff03427deaba004e26017fd1eb097eed48e462e22c200122614e40009b065a7da55265aba01ee80e177fa6862f60cdc79805ca SHA512 f93e5a30dbde7bf7662ac57af4293f5b7117d4f63a85dc079607faf06e7e88f938936a0b0e3b5ac55877f9af1a06bbb666ee47397db2e2f7e55edeb70e5a3feb +DIST kscreenlocker-5.12.4.tar.xz 118380 BLAKE2B 12c3b382fe4f78c3696be137d0d5eea5b99b2ef698982d9757380b194422d3a606dd336d7ba27eed9c4e9200e510cf1a1d186a8125f4c0925bf95f932fa7c43a SHA512 d967b6891c2ee83a1fef4b564e95ad1468803db26c0aa8657048e7d94279eea17b75f007c44e90727a4b5689765413055e64ff49800631e9a4db1fb047ce41ed diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.12.4.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.12.4.ebuild new file mode 100644 index 000000000000..000589de4b14 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.12.4.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-proto/xproto +" +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 +} |