summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-09-12 13:48:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-09-12 14:37:31 +0200
commit4ed0918392fceeb13e715830c2f8e78c3731b288 (patch)
tree56e56c8e483eb1fa0efaf09df11ee6f7e16dc03b /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.74.0 version bump (diff)
downloadgentoo-4ed0918392fceeb13e715830c2f8e78c3731b288.tar.gz
gentoo-4ed0918392fceeb13e715830c2f8e78c3731b288.tar.bz2
gentoo-4ed0918392fceeb13e715830c2f8e78c3731b288.zip
kde-frameworks/kidletime: 5.74.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.74.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 7a662855c515..46fe0bf85054 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.70.0.tar.xz 29136 BLAKE2B aab42e49dd3abac7a995e27112d5181ed43123d69a2a47dfedb00406a70ca5d52dd4e01b8e6f8ba52483187f519f3a224a18098a94086505b2cd0394fbf60eaf SHA512 c5ada7ee3cb225509966b9a3315fe4b8e136fe0750ea5e5cb9a543010d5a4b279030d79d526ea8d47e1715434bad09e8f06394cba2362db527546fc55b6bc22c
DIST kidletime-5.73.0.tar.xz 29084 BLAKE2B 1a7e64a06080afd4f9fd6a63609f1a17d7a035d46c1f2c71207890e572d8140e410cd9e3a574e81fc87274313507024de471ba7f9a87bed977b3879f0726299f SHA512 d6cd6de43f295b68cd8bc1cd3ab8817f091b0bb859748eaceae7552d0a7c2bf512136ac59f90c0ce433b04325c53daccf676c24cd35312712593ed86b928806b
+DIST kidletime-5.74.0.tar.xz 25552 BLAKE2B d08e482089acf0b7afab5edc69dc11c92a18f208ad4e8d1948cb4713b03c04267b4622e27d0b973777faeef75391b1f053ab490a062f5cac3a3b4516aa5be90a SHA512 4edc4b6ac3164da38401552bab8645ee2db025d519eadc87d9c2d93284b7e7d5b91410d18f443d64d7b1b0573d9e58b04945e3847e07401d62dd8826accccae3
diff --git a/kde-frameworks/kidletime/kidletime-5.74.0.ebuild b/kde-frameworks/kidletime/kidletime-5.74.0.ebuild
new file mode 100644
index 000000000000..1f4a34cf974c
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.74.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="false"
+QTMIN=5.14.2
+inherit ecm kde.org
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXext
+ )
+ xscreensaver? (
+ >=dev-qt/qtdbus-${QTMIN}:5
+ x11-libs/libXScrnSaver
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ ecm_src_prepare
+ if ! use xscreensaver; then
+ sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package X X11)
+ $(cmake_use_find_package X XCB)
+ )
+
+ ecm_src_configure
+}