diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-12 10:58:04 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-12 11:07:37 +0200 |
commit | 03b5070fa51fa15ac47489fae77811eaa07e1b91 (patch) | |
tree | 891706a5e6725e4f37f331422302e6d53a82aa6a /kde-plasma/kscreenlocker | |
parent | www-apps/mediawiki: fixed test in postupgrade file (diff) | |
download | gentoo-03b5070fa51fa15ac47489fae77811eaa07e1b91.tar.gz gentoo-03b5070fa51fa15ac47489fae77811eaa07e1b91.tar.bz2 gentoo-03b5070fa51fa15ac47489fae77811eaa07e1b91.zip |
kde-plasma: Add KDE Plasma 5.16.0
Package-Manager: Portage-2.3.67, Repoman-2.3.14
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.16.0.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 1305721bb972..30646a44838a 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1 +1,2 @@ DIST kscreenlocker-5.15.5.tar.xz 122620 BLAKE2B bb9cc80585c74690227f2f72961ff2ee707778fd4eee541840df85d04da7b5a3e8f75c7378cc4de8e45c41e1b29b67725e9b23461a0e8ff4bb00aa046100f851 SHA512 95325d3ab07afea22a10e17a2bc0f4412d57b96385b6fc058d1b9785a07914e1ce89af7a8c773615f884263dc2136fd7c7eb112dcec9d516a267262c37d15d12 +DIST kscreenlocker-5.16.0.tar.xz 122632 BLAKE2B 53787c45aea9c615b2f838e0b3e18376a14f4b4c29b1355ee8b22bfcfe2a3de7feca028a56ca940e4850f2b1fb78a29f1cc20e03533e1e468fa24a981e794d92 SHA512 26b4524d8ec32b224b7d65c3aa0b793027355d732c06582c04896425dd86da6d7fa4a8db83da0290c0c1d5a56084227ff7d1da5eb975566cb905cfe40eac8932 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.16.0.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.16.0.ebuild new file mode 100644 index 000000000000..7c403e5a5574 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.16.0.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 +} |