diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-04-02 20:21:46 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-04-02 23:05:24 +0200 |
commit | 55391d594cbb90254c591743415442484c3b0d02 (patch) | |
tree | 0495277eae519b0471a036e40a57ebd77d661530 /kde-plasma/kscreenlocker | |
parent | dev-python/pillow: bump to 6.0.0 (diff) | |
download | gentoo-55391d594cbb90254c591743415442484c3b0d02.tar.gz gentoo-55391d594cbb90254c591743415442484c3b0d02.tar.bz2 gentoo-55391d594cbb90254c591743415442484c3b0d02.zip |
kde-plasma: Add KDE Plasma 5.15.4
Package-Manager: Portage-2.3.62, Repoman-2.3.12
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.15.4.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index f7d24b9ac5a6..fc3783038577 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.14.5.tar.xz 122232 BLAKE2B 652d8f2981231278d8890d2599466a86ca8530c44a2b6379631d575c457a573031672529313921fd87fbef6859302d8364ebf4769430941326e9c2ecc0d5196e SHA512 49348f137645333484be93922ec167403c74fce751294dbd02ffeedde6279ff0a0db8abc12153541612d4aeb6d6ed646b7f5ab22b78a8b80ae5eb37fa16f0e1d DIST kscreenlocker-5.15.3.tar.xz 122196 BLAKE2B ffc693ef3b0e425a3f9d09d9b1205fc112d3ad0e8210feaa3f2d8f22686372a6d8d6fe50cf8949ba90cd636fb84dc21abdccded690e7a6006a04b2f2ded71e48 SHA512 ded0e9a09ff374217871ae2e5b69895cebfd6cba47dc21c5a5e86860c3a17480ee60e2f2d19ba883aae0ccd1cad59e058ee3f790cee23bade8af656ec03b98d9 +DIST kscreenlocker-5.15.4.tar.xz 122676 BLAKE2B 96b3cc0c3ea45738f217d371bcc75b2021ceaae0cf64cc948b35c1092f4d15c44a29afa0519dfbb4b4441ecb48069cb9bbee0f8f6076b92fc8c31e7f9d8787ab SHA512 e1f7e930f8603ab56048279e361cf00908f3d47ea86bb3660664d25df1755d537f3a350d6ef1b42c0bb51df0eb87e93e11a0e6f229b1586fa6b38566a8f64db2 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.15.4.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.15.4.ebuild new file mode 100644 index 000000000000..7c403e5a5574 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.15.4.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 +} |