diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-10 01:19:43 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-10 10:58:35 +0200 |
commit | 3a433556dffc41d462cbce30e8a5c097e9f73d2f (patch) | |
tree | 4fed51d583dd7dc07364b58a762fb1fd2732177b /kde-frameworks/kidletime | |
parent | media-libs/libkate: Drop 0.4.1-r2 (diff) | |
download | gentoo-3a433556dffc41d462cbce30e8a5c097e9f73d2f.tar.gz gentoo-3a433556dffc41d462cbce30e8a5c097e9f73d2f.tar.bz2 gentoo-3a433556dffc41d462cbce30e8a5c097e9f73d2f.zip |
kde-frameworks: Add KDE Frameworks 5.47.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.47.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 051d01f62731..1e9d949a9f31 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.43.0.tar.xz 26484 BLAKE2B 5c7aca43bdaa77b87fa739c128a103ad1ffb1462d459cfb0bdef17d96540c7c9b4c29cdb68156bee61d7421355c6ea1513e592d3e0451c6007b6750e0b1e318c SHA512 aab85a3143fce87751cd3e9c2b55306f5c4aad1f396dbdea7678605dab4ce47b53b95a42d42667fea937dbd6b20b84c349d00076216753dcb31beab52d05df3d DIST kidletime-5.46.0.tar.xz 26580 BLAKE2B 4d14fde1f56dbb26dfbc3a5cd8920fc44c1ad6fc31e8c987332d24c6815964c8561285f097622378c4fdd5f8bdd949c0298cf3aeaa99c97cd855c1e90bb201fa SHA512 43994cf09ce659d7f5e2b0d77b4b97631e7c7e87a8ded21a626a5e16ba9c3101fd1c9ab120756fea170f7024e5fa5141e583e51f032f4def4674c209fc6b759f +DIST kidletime-5.47.0.tar.xz 26596 BLAKE2B 1c8ca21f447f6679bf9a3cdc622834b35c069b4fe4dfadaad4976db0959bc324bccd6060967e601e550e43ce818825b47a5c3e0a9fb5064171f52487577fb528 SHA512 3a6cef533e9dec38e3d546d4c542150eec94e748c84d8fedb433aa2168655542d213b6699923d70e64efdcc41ff8229c0fde38b04ec78ab94c80560b83a75ccb diff --git a/kde-frameworks/kidletime/kidletime-5.47.0.ebuild b/kde-frameworks/kidletime/kidletime-5.47.0.ebuild new file mode 100644 index 000000000000..10865cb9fe0d --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.47.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 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 +} |