summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-11 14:55:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-11 17:36:47 +0200
commit5638dfb7a2dd6c1a3c0552f4e29400bbe4ec4caf (patch)
tree98099c88554d1db518df15c92c5ae991f3b0b9c1 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.72.0 version bump (diff)
downloadgentoo-5638dfb7a2dd6c1a3c0552f4e29400bbe4ec4caf.tar.gz
gentoo-5638dfb7a2dd6c1a3c0552f4e29400bbe4ec4caf.tar.bz2
gentoo-5638dfb7a2dd6c1a3c0552f4e29400bbe4ec4caf.zip
kde-frameworks/kidletime: 5.72.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.72.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 50e17cc4361b..a3f8a4d990fb 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.71.0.tar.xz 29088 BLAKE2B 0db8126a65336e27c144356b119517e6f1760d8f93c39a33be9594e131f7953ea49d05cacad45b3036af6f8813506d1daa1d8a7c770d040768c3cb97edf5a494 SHA512 d5a6af8739c52fc02282f28962f50cfd6a5fa6cb9724cd8d76cb5a68fcf784cd52d773efe299cf681efbceef78400f7d7e5b519592e9be3ae993f7d7e15451ea
+DIST kidletime-5.72.0.tar.xz 29076 BLAKE2B 965d1ae55526d6df7a25469878fdd16a0d3cf143bb58f9e610781ab752685425562507dc59f71644afeb124a43bdc814fe9e3cf398baab4b024ea8cc6ecfb7a0 SHA512 3a5fd03eabfbe99368b670fe78c985a65d354cd38eb3f4e5bc6fa25d71c36bfe48f14c8cbc64035d286ec9f29780fa168febc1e1284af9f1fac30cb7f94608cf
diff --git a/kde-frameworks/kidletime/kidletime-5.72.0.ebuild b/kde-frameworks/kidletime/kidletime-5.72.0.ebuild
new file mode 100644
index 000000000000..1f4a34cf974c
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.72.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
+}