diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-10 11:32:02 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-10 12:37:30 +0100 |
commit | 8adea4ad9cbf6c966431c0d9224b5d459059f9cd (patch) | |
tree | ff9de58067cb9165ba809d8c51dbbc8dc4475668 /kde-frameworks/kidletime | |
parent | net-libs/*: Update Manifest hashes (diff) | |
download | gentoo-8adea4ad9cbf6c966431c0d9224b5d459059f9cd.tar.gz gentoo-8adea4ad9cbf6c966431c0d9224b5d459059f9cd.tar.bz2 gentoo-8adea4ad9cbf6c966431c0d9224b5d459059f9cd.zip |
kde-frameworks: Add KDE Frameworks 5.41.0
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.41.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 7541b1becac5..6d03baa43247 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.37.0.tar.xz 26608 BLAKE2B 3049c94127bc6734d2a6c32c72a61d2556e8a797b023c4b32df3d4725fea620484cbecf48a62ddafcefcc8a9af3a31227eb1115234300dbd876394b1da6b32a2 SHA512 444cfc25d162c4390ec0aa49b035bda1e5628972a634eb08c0cc9c48d513676669729470fc91cdf25ed98b9b6dd76b71159659bfecb4cbd61e029ad42398be27 DIST kidletime-5.40.0.tar.xz 26616 BLAKE2B 17c3e7d87156ad732f38ed0e4d0bdc4e4eb816d10686fd084a553216ba8ac4e5d0fc35590d5bcccb9deb100619539e79ec417643c31105e26b13ba392ff702b0 SHA512 b8c8c1de1c2261ad52ba80a11388a90ffa18c80153b58b0063184e14fe1c744465c150ef4e9be6692ca81330c52230029b406e8ae240e6738300f8977411a6ba +DIST kidletime-5.41.0.tar.xz 26612 BLAKE2B c501488b442e3127816d870f6273f69f6c6fa1378003ccc96400b0e9110808a3b25b7a8f8f18990709e3b555ac439464be13d048bbd98d7748f809ff0138c411 SHA512 7dab05f459592ff4b81f56761cd04845c4c236a1674cdc273aef5604fcf5b649cc3a9ca6092d9222dfafaf2b38d9d783820e632d44228b5e5e26d1337f98f9ec diff --git a/kde-frameworks/kidletime/kidletime-5.41.0.ebuild b/kde-frameworks/kidletime/kidletime-5.41.0.ebuild new file mode 100644 index 000000000000..f9b3ebb4a974 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.41.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="false" +inherit kde5 + +DESCRIPTION="Framework for detection and notification of device idle time" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +RDEPEND=" + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + X? ( + $(add_qt_dep qtx11extras) + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + ) + xscreensaver? ( + $(add_qt_dep qtdbus) + x11-libs/libXScrnSaver + ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + kde5_src_prepare + if ! use xscreensaver; then + sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package X X11) + $(cmake-utils_use_find_package X XCB) + ) + + kde5_src_configure +} |