diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-30 14:35:54 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-30 16:32:29 +0200 |
commit | 3a88c6f1b382ab5ebfe61539039a694c0e123991 (patch) | |
tree | 08f3cf35bc863ba6278e2950b9c5e72e83efe7be /kde-plasma/kscreenlocker | |
parent | acct-group/kvm: make virtualization the primary maintainer (diff) | |
download | gentoo-3a88c6f1b382ab5ebfe61539039a694c0e123991.tar.gz gentoo-3a88c6f1b382ab5ebfe61539039a694c0e123991.tar.bz2 gentoo-3a88c6f1b382ab5ebfe61539039a694c0e123991.zip |
kde-plasma: Add KDE Plasma 5.16.4
Package-Manager: Portage-2.3.69, Repoman-2.3.16
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.4.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 035bb6718b99..1034c7417061 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.15.5.tar.xz 122620 BLAKE2B bb9cc80585c74690227f2f72961ff2ee707778fd4eee541840df85d04da7b5a3e8f75c7378cc4de8e45c41e1b29b67725e9b23461a0e8ff4bb00aa046100f851 SHA512 95325d3ab07afea22a10e17a2bc0f4412d57b96385b6fc058d1b9785a07914e1ce89af7a8c773615f884263dc2136fd7c7eb112dcec9d516a267262c37d15d12 DIST kscreenlocker-5.16.3.tar.xz 122228 BLAKE2B dc28537cf4def5132d24320b8fef44f34e7fb95eb9546162bd3de20f0d2d65df1ec721dafca3679a8513d471f83d5c5e53c2e12ec581c64e1416c35012a0aae6 SHA512 4c4c43d23a3684642461e760d004ea996ff01890503f3d317c757db138d2d114869b18c62c525570c39398176c44a211f54dd2f8581cfde8ee5d777a342998b4 +DIST kscreenlocker-5.16.4.tar.xz 122620 BLAKE2B aa45eaf40bcb45d31d2cac121bdda2b8cf628444f98060932ea6595493e940bc8bb29a3cce227ee13e1549c8ee5c7e02686d04a936c9382e67a0c509b7eb8054 SHA512 04c5d695d428fe0363277e8cc20a1d39b1fb662157ef42d0f74c3cf802bd39a8fd3ff35cc64bfa3ebaa5aa89fbe84d752809c24c8e3321b31abe8c2ebb7dc72d diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.16.4.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.16.4.ebuild new file mode 100644 index 000000000000..7c403e5a5574 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.16.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 +} |