diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-23 18:51:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-23 18:54:05 +0200 |
commit | 56148d2ee3e83c17a64f8672d32143bcb2f56e02 (patch) | |
tree | 5a36a0e471249e90170111f32bfdb74897ff64b0 /kde-plasma/kscreenlocker | |
parent | www-client/firefox: update patch URL (diff) | |
download | gentoo-56148d2ee3e83c17a64f8672d32143bcb2f56e02.tar.gz gentoo-56148d2ee3e83c17a64f8672d32143bcb2f56e02.tar.bz2 gentoo-56148d2ee3e83c17a64f8672d32143bcb2f56e02.zip |
kde-plasma: Add KDE Plasma 5.14.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.14.2.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 7da45fa549bb..eccafb855592 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,3 +1,4 @@ DIST kscreenlocker-5.12.7.tar.xz 119484 BLAKE2B d8f0e60ec3c3f294d9daf109fc327d895f32e0c9b26841787a1ed20b5b6d3ba8113b30858caec0e8782b56d717d91979f13187466c174f4c2153678e14e7d7f3 SHA512 76554e8ad6872705e903bda5f55f650d859b282b400ca739f346e392ce7961891057c8a8a43b5dcb85c83860e4744252500c338e5d99fd67a33df529a7e040c6 DIST kscreenlocker-5.13.5.tar.xz 122112 BLAKE2B 4effbfd26b15ca9a0225031b11b892092351a95eddf2bad659b7a97e347db402d5f28415d6d8fb11eb3ad095faa7ad430e949d5f21abaf33da8cc8f47ba8e26e SHA512 c09f55da12893f162fcdc7559e55fa50d48bb642673de84809939e695ee93843e97a5224cfc79cb6bea6a1146ac757c45eab0bd1aa20e36206290c0155d8dfe2 DIST kscreenlocker-5.14.1.tar.xz 122056 BLAKE2B 890ae3a0e179a0216efd0ca49f6f702df9a7e8c7cb5a27fa25e94c825b218b3df15365625a55b7bb98790dc561e72ba3bdbf006ddb88c23febac85e7e0f40740 SHA512 6097289a4935ed296d7266309aa057031a7e28a2dc4b7c41bb47f1e476fe1d7f9691df7c40812e1215644e540658c743f76c3e377fccb6d17ca1494c5312a0b8 +DIST kscreenlocker-5.14.2.tar.xz 121316 BLAKE2B ec43b818ab95b2c8112ac39f8d46587e325184914bf2f3591e6002e027109cf978dbf16ec5f970b4530c8660de4e4936ea5b0660a611da88d35c4d5f76443915 SHA512 a7b875827890958e4014f74071a03f3140f18063fb45483ad615b4c36232bf8a35862dc1e072f214d665d688bdad8dc2f38667e5141c67a7a57afdf5f95ca43c diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.14.2.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.14.2.ebuild new file mode 100644 index 000000000000..ab0f95ec9ebe --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.14.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2018 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="+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} + !<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=( + -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 +} |