diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-18 16:25:59 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-18 18:11:40 +0200 |
commit | dd8e6c848a97aea2c41c5c69bc0aa5585722e39c (patch) | |
tree | 9b0bb4507fb9ec18c0af393f5d98e0e15b7eeba2 /kde-plasma/kscreenlocker | |
parent | net-misc/cadaver: Add ${EPREFIX}. (diff) | |
download | gentoo-dd8e6c848a97aea2c41c5c69bc0aa5585722e39c.tar.gz gentoo-dd8e6c848a97aea2c41c5c69bc0aa5585722e39c.tar.bz2 gentoo-dd8e6c848a97aea2c41c5c69bc0aa5585722e39c.zip |
kde-plasma: Add KDE Plasma 5.16.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.66, 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.16.1.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 30646a44838a..40b85c153a4c 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.15.5.tar.xz 122620 BLAKE2B bb9cc80585c74690227f2f72961ff2ee707778fd4eee541840df85d04da7b5a3e8f75c7378cc4de8e45c41e1b29b67725e9b23461a0e8ff4bb00aa046100f851 SHA512 95325d3ab07afea22a10e17a2bc0f4412d57b96385b6fc058d1b9785a07914e1ce89af7a8c773615f884263dc2136fd7c7eb112dcec9d516a267262c37d15d12 DIST kscreenlocker-5.16.0.tar.xz 122632 BLAKE2B 53787c45aea9c615b2f838e0b3e18376a14f4b4c29b1355ee8b22bfcfe2a3de7feca028a56ca940e4850f2b1fb78a29f1cc20e03533e1e468fa24a981e794d92 SHA512 26b4524d8ec32b224b7d65c3aa0b793027355d732c06582c04896425dd86da6d7fa4a8db83da0290c0c1d5a56084227ff7d1da5eb975566cb905cfe40eac8932 +DIST kscreenlocker-5.16.1.tar.xz 122576 BLAKE2B bdfe2a270462f147bd81484de21001ec73fb0023c1cc8862ef843cb188916fb132235fbdf5bb1894cba00120e6f15329290bb4d97d4c7d9aeb7641342708f133 SHA512 5aa7d4ef2cfcc5d95f7d83023df1275ebe2d52465182f8c5743af2067e98edb662d384081b24d8e2905157d8aebcda4a907bda95f1668306319f443a100f1d15 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.16.1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.16.1.ebuild new file mode 100644 index 000000000000..7c403e5a5574 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.16.1.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 +} |