diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-25 15:29:30 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-25 18:23:49 +0100 |
commit | ae8c19f8d28c0946c5d5e92a32b944621d466bb6 (patch) | |
tree | 39974984dc3edd56b27110901d5e2998a600c122 /kde-plasma/kscreenlocker | |
parent | app-crypt/qca: 2.3.0 version bump (diff) | |
download | gentoo-ae8c19f8d28c0946c5d5e92a32b944621d466bb6.tar.gz gentoo-ae8c19f8d28c0946c5d5e92a32b944621d466bb6.tar.bz2 gentoo-ae8c19f8d28c0946c5d5e92a32b944621d466bb6.zip |
kde-plasma: Add KDE Plasma 5.18.2
Package-Manager: Portage-2.3.89, 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.2.ebuild | 100 |
2 files changed, 101 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 26fa56e601cd..5b5b17949a7c 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.1.tar.xz 125136 BLAKE2B b5af442c8ab8d87208bdcfcccf9033d0e832b5e140c19886129f61fa6a0073d1c8ca583c08583b83766d7bf3e38264cafb5dbe2a6a289b54ef73e2cb9ec4d682 SHA512 042ecda684e65aec104610f8234b873de6a2a15412151188bb813546e3c91023fcc1c9b5451e0386c288b50940ccee44a76e5db49500945fdbb4cf3e7c6fccdb +DIST kscreenlocker-5.18.2.tar.xz 125148 BLAKE2B aad70a45177144883bddf0f0b12cc3490bea9ec85e1db0140db8c128405ce86d5e9b5799106f637627a5e89a60b20e9de98533c65b52c4bbcb791371b0b73eab SHA512 904c6438c8afea186896ffd508fc30020f12456eb3631dd97596096b00a51928654382091c7aca5e0db927c18173ea5b6d60877591b1f4e5eb23a5617cb4f9d4 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.18.2.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.18.2.ebuild new file mode 100644 index 000000000000..6ad576f7d425 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.18.2.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 ~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 +} |