diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-10 21:25:37 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-10 21:44:46 +0100 |
commit | c150c6e1295eecfe22ee9b25c8584d7340366b3a (patch) | |
tree | 7a3b7bbf8888b6d3e6b7d98827f2c91decc84056 /kde-plasma/kscreenlocker | |
parent | net-dns/pdns: Mark 4.2.1 stable on amd64/x86 (diff) | |
download | gentoo-c150c6e1295eecfe22ee9b25c8584d7340366b3a.tar.gz gentoo-c150c6e1295eecfe22ee9b25c8584d7340366b3a.tar.bz2 gentoo-c150c6e1295eecfe22ee9b25c8584d7340366b3a.zip |
kde-plasma: Add KDE Plasma 5.18.3
Package-Manager: Portage-2.3.93, Repoman-2.3.20
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.18.3.ebuild | 100 |
2 files changed, 101 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 0deb2f48511f..a28bbbe235ce 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.17.5.tar.xz 123744 BLAKE2B 2b2472d5cd99402930a3003e1a8daa07cd40b7501648e4007c947e55b9e130f8336d267409c5c60d2d4d2544ec4b8aa6e1acca287296407781d44c5c22ff8519 SHA512 152a310d8e3256da1b08b7b0d0a9e2be826a18d3c9ede61bfc764efed02e66e11f209edf953c9098a378e1566d3a7ee1013f733f205f66543174ec0994750248 DIST kscreenlocker-5.18.2.tar.xz 125148 BLAKE2B aad70a45177144883bddf0f0b12cc3490bea9ec85e1db0140db8c128405ce86d5e9b5799106f637627a5e89a60b20e9de98533c65b52c4bbcb791371b0b73eab SHA512 904c6438c8afea186896ffd508fc30020f12456eb3631dd97596096b00a51928654382091c7aca5e0db927c18173ea5b6d60877591b1f4e5eb23a5617cb4f9d4 +DIST kscreenlocker-5.18.3.tar.xz 125316 BLAKE2B 312d24dc746292ae6487443312efeffaca8903e1fab5ed898c5b9d8fc5588729723116f62ac2280f8e8ebdb45ec78e720a02b535556eb7c28a446caa447d5bfa SHA512 bb7fbf9c42a4fbe970c4953b0a64d95d45c5c1519db21e80907a95d2415b68b8c135f1f0368b9663bd4162cbbe507688f72293f4c7f0c9ed60cc7c222c31b098 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.18.3.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.18.3.ebuild new file mode 100644 index 000000000000..5e66c8cd5e94 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.18.3.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional" +KFMIN=5.66.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org pam + +DESCRIPTION="Library and components for secure lock screen architecture" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="consolekit +pam seccomp" + +REQUIRED_USE="seccomp? ( pam )" + +RDEPEND=" + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kidletime-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kpackage-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwayland-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + dev-libs/wayland + x11-libs/libX11 + x11-libs/libXi + x11-libs/libxcb + x11-libs/xcb-util-keysyms + consolekit? ( sys-auth/consolekit ) + pam? ( sys-libs/pam ) + seccomp? ( sys-libs/libseccomp ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto +" +PDEPEND=" + >=kde-plasma/kde-cli-tools-${PVCUT}:5 +" + +RESTRICT+=" test" + +src_prepare() { + ecm_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 + ) + ecm_src_test +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package consolekit loginctl) + -DPAM_REQUIRED=$(usex pam) + $(cmake_use_find_package pam PAM) + $(cmake_use_find_package seccomp Seccomp) + ) + ecm_src_configure +} + +src_install() { + ecm_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 +} |