summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-12 14:15:08 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-12 14:15:49 +0100
commit422daa2f216e7442fa74759e58761083afe150b2 (patch)
treec87945f5e4c64780d78e5599e48c58237173e5af /kde-plasma/kscreenlocker
parentsys-devel/clang-runtime: Bump to 8.0.0rc5 (diff)
downloadgentoo-422daa2f216e7442fa74759e58761083afe150b2.tar.gz
gentoo-422daa2f216e7442fa74759e58761083afe150b2.tar.bz2
gentoo-422daa2f216e7442fa74759e58761083afe150b2.zip
kde-plasma: Add KDE Plasma 5.15.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r--kde-plasma/kscreenlocker/Manifest1
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.15.3.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index 463ec9f9f4f0..01a23812830f 100644
--- a/kde-plasma/kscreenlocker/Manifest
+++ b/kde-plasma/kscreenlocker/Manifest
@@ -1,2 +1,3 @@
DIST kscreenlocker-5.14.5.tar.xz 122232 BLAKE2B 652d8f2981231278d8890d2599466a86ca8530c44a2b6379631d575c457a573031672529313921fd87fbef6859302d8364ebf4769430941326e9c2ecc0d5196e SHA512 49348f137645333484be93922ec167403c74fce751294dbd02ffeedde6279ff0a0db8abc12153541612d4aeb6d6ed646b7f5ab22b78a8b80ae5eb37fa16f0e1d
DIST kscreenlocker-5.15.2.tar.xz 122192 BLAKE2B 30838c24cfc85005cee40c45a31a26bbecceb99da150d3851e5ad4ceeed64ca60c4600691804f055b4c47457f7018f2c005c455a0b41b4f97eedc9afce0376be SHA512 b79661b9da62dfc6befa08d4fb66ba499da30440e7340aa37b87c2c8b173361364cfb99ccf2660c8851fcf82830debff68e7abb275bb3835686d27040bf257bd
+DIST kscreenlocker-5.15.3.tar.xz 122196 BLAKE2B ffc693ef3b0e425a3f9d09d9b1205fc112d3ad0e8210feaa3f2d8f22686372a6d8d6fe50cf8949ba90cd636fb84dc21abdccded690e7a6006a04b2f2ded71e48 SHA512 ded0e9a09ff374217871ae2e5b69895cebfd6cba47dc21c5a5e86860c3a17480ee60e2f2d19ba883aae0ccd1cad59e058ee3f790cee23bade8af656ec03b98d9
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.15.3.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.15.3.ebuild
new file mode 100644
index 000000000000..7c403e5a5574
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.15.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+RDEPEND="
+ $(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="${RDEPEND}
+ x11-base/xorg-proto
+"
+PDEPEND="
+ $(add_plasma_dep kde-cli-tools)
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+ kde5_src_prepare
+
+ if ! use test; then
+ sed -e "/add_subdirectory(autotests)/ s/^/#/" \
+ -i greeter/CMakeLists.txt || die
+ fi
+}
+
+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
+}