summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 22:09:14 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 22:18:22 +0100
commit58f841fe7240a59abc744e8f4700f4c447d2ac53 (patch)
tree015753318f5f6ff355075e1cad7911c93699b5e0 /kde-plasma/kscreenlocker
parentkde-plasma/kscreen: 5.21.1 version bump (diff)
downloadgentoo-58f841fe7240a59abc744e8f4700f4c447d2ac53.tar.gz
gentoo-58f841fe7240a59abc744e8f4700f4c447d2ac53.tar.bz2
gentoo-58f841fe7240a59abc744e8f4700f4c447d2ac53.zip
kde-plasma/kscreenlocker: 5.21.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r--kde-plasma/kscreenlocker/Manifest1
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.21.1.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index 02138f63d709..ca14868d6cbf 100644
--- a/kde-plasma/kscreenlocker/Manifest
+++ b/kde-plasma/kscreenlocker/Manifest
@@ -1,2 +1,3 @@
DIST kscreenlocker-5.20.5.tar.xz 115988 BLAKE2B 7a051bea3952da85c272e32bb0c04c94bd0eb5fa52e01e90d9ce7d2902b3e3fca97ae7a6ee2c0994fa775309e62c7b7f0ba8b6634f04188370809cef7142835b SHA512 0993013374b91a34fd9ff204012f83f63a4ffcde9c6562ae0f7544fce78f5d526ad0104154ad5a104742df77d77b2267290c451cf90b1931ad1b36254e2b7ec6
DIST kscreenlocker-5.21.0.tar.xz 117280 BLAKE2B 181ee14ded67b828627d0ca608245ff9ef4f45ba924d7b10737264aec4c9cca859f15a47aa96fdebb2b93eebc97a71d44a5309fb73b6f4c4269072759ccbbfc5 SHA512 c429f20b6fb6e5e3209c22a15d18d0e4c8a34e5ee9c58d8bb9077c19ecc8e5d0d7d57ceabad0a16858f25add7bef9ca8f9b62c69a5eaa01e8f7e6086d95e9f08
+DIST kscreenlocker-5.21.1.tar.xz 117268 BLAKE2B fd5dc9420ad32e584986c684f52adddf87573ab7d2ebf384cb61bbea179f098370b93de641d551b8b064277268083296880488709e47bb30b1d3e0bddb05f838 SHA512 0fec548cb6f62f0e1cab223778cc76551bfad9e6484e93816a637a836bf5db32366dfa5eeb7c205f35812c78f941a47503510030e01a14227cba366887c06da3
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.21.1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.21.1.ebuild
new file mode 100644
index 000000000000..b1c7212ccfc3
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.21.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KFMIN=5.78.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.2
+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="+pam"
+
+RESTRICT+=" test"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=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/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ pam? ( sys-libs/pam )
+"
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+"
+PDEPEND="
+ >=kde-plasma/kde-cli-tools-${PVCUT}:5
+"
+
+src_prepare() {
+ ecm_src_prepare
+ use test || cmake_run_in greeter cmake_comment_add_subdirectory autotests
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DPAM_REQUIRED=$(usex pam)
+ $(cmake_use_find_package pam PAM)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # requires running environment
+ local myctestargs=(
+ -E x11LockerTest
+ )
+ ecm_src_test
+}
+
+src_install() {
+ ecm_src_install
+
+ if use pam; then
+ newpamd "${FILESDIR}/kde.pam" kde
+ newpamd "${FILESDIR}/kde-np.pam" kde-np
+ else
+ chown root "${ED}"/usr/$(get_libdir)/libexec/kcheckpass || die
+ chmod +s "${ED}"/usr/$(get_libdir)/libexec/kcheckpass || die
+ fi
+}