summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-14 17:05:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-14 17:06:15 +0200
commit66b09c22973a2fa441b3a4dc7d71874a8a40204a (patch)
tree2bf2d57a052b373529fd4653fbcbbe51c3095d80 /kde-frameworks/kidletime
parentmedia-libs/oyranos: Drop old (diff)
downloadgentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.tar.gz
gentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.tar.bz2
gentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.zip
kde-frameworks: Add KDE Frameworks 5.39.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.39.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 11e528e284d5..c09c0817d429 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.37.0.tar.xz 26608 SHA256 3a472778722f38e5175ac55ff71a5e464ec98ecfd2ec759b7003612fe8c0a406 SHA512 444cfc25d162c4390ec0aa49b035bda1e5628972a634eb08c0cc9c48d513676669729470fc91cdf25ed98b9b6dd76b71159659bfecb4cbd61e029ad42398be27 WHIRLPOOL 20062019e3f8e3ade9d4c9e342508231c3741cf835f2db6a034d7fc09d452b7475e51998e05c978acb45da84e7e3cff8942943a23f70952e06e77fe3a1d315d7
DIST kidletime-5.38.0.tar.xz 26620 SHA256 5bd30a316ea72a44ed4e4f7f11533e5aa74fc817f360f471b2658ac560e221c5 SHA512 7318e2fd372cba52c3d386d66da330fa801add715e06ef895eba1bd61c101ba9bdc8494f4ad085a569fe411ce4f7678f0fc7cb0863a3eea1b5c376b8f16771e9 WHIRLPOOL dbe18e9957f2584cd8552e702891ffd77e3c03eed3ddabccef1b3046db6369942df1838307c4f2908c96d08bf7229c92a24c95918dcfd17179673cac5cd2c684
+DIST kidletime-5.39.0.tar.xz 26616 SHA256 a8ada849a4c740a4346bc3c073e38761b8cfe38be6eb0ffc9221d85932bb0506 SHA512 f9eb585b9677f1dd5f9a0cb71fae5fb8faf9319256a7bca79528354244a9275feb061914cf5306f4dc3caa2ce914e23c378140cf3ee190dd5dc5ebdf9b20cef6 WHIRLPOOL 2f3d0c6d2f2aab658e7cf7e2b06adb6d565cf179982aa0a18d5c45ba6ee7230e40d4e561284adbc08a7d83688b1608c12b6ee0e111e266a86c04e5b6c008e01f
diff --git a/kde-frameworks/kidletime/kidletime-5.39.0.ebuild b/kde-frameworks/kidletime/kidletime-5.39.0.ebuild
new file mode 100644
index 000000000000..f9b3ebb4a974
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.39.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
+}