summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.46.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 857cc7aec2f..fe46c32d9d2 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.45.0.tar.xz 26480 BLAKE2B 1f6b915df0be9d60f9891fafa800dc416ac9b306644283310dfd178248c133bccca331b8375247b6997c87220abfc74a897ec366504e828d90549a01cfafd94e SHA512 7da3183f24d41d1b6092c3e0b0a8aa3ffd242eaf26e28a61af156a3a4a8d669b0421dd0dc44f901dfc0b237469d5af318c3d869979d082555a31b2a118639fb2
+DIST kidletime-5.46.0.tar.xz 26580 BLAKE2B 4d14fde1f56dbb26dfbc3a5cd8920fc44c1ad6fc31e8c987332d24c6815964c8561285f097622378c4fdd5f8bdd949c0298cf3aeaa99c97cd855c1e90bb201fa SHA512 43994cf09ce659d7f5e2b0d77b4b97631e7c7e87a8ded21a626a5e16ba9c3101fd1c9ab120756fea170f7024e5fa5141e583e51f032f4def4674c209fc6b759f
diff --git a/kde-frameworks/kidletime/kidletime-5.46.0.ebuild b/kde-frameworks/kidletime/kidletime-5.46.0.ebuild
new file mode 100644
index 00000000000..10865cb9fe0
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.46.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
+}