summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-09-12 22:52:15 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-09-13 07:18:40 +0200
commitc4d2a04cb5a298e2f9e9f2c564b5ae97e798c68c (patch)
tree7a5f0822e92591ad656f23f76cc1ec4c353eb425 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.86.0 version bump (diff)
downloadgentoo-c4d2a04cb5a298e2f9e9f2c564b5ae97e798c68c.tar.gz
gentoo-c4d2a04cb5a298e2f9e9f2c564b5ae97e798c68c.tar.bz2
gentoo-c4d2a04cb5a298e2f9e9f2c564b5ae97e798c68c.zip
kde-frameworks/kidletime: 5.86.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.86.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 133e83b4fec2..f7b697d1f40c 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.82.0.tar.xz 26040 BLAKE2B b5e7ee686c9ffaefc0f321bfff15f0ee633b04ba07753702d2f76ebb069704fd9c5042904e726e617754432df6caacd305b0c4095178b71077801089a76f29dc SHA512 35cb528aeaf0d28ace354eff8f65812bbc8fc7f0b8b01ac93b8317de6267d93d1e1808ddb5b136c0ec9980544f27518cea2c3c577dd8252be05b8fdecb396f39
DIST kidletime-5.85.0.tar.xz 26116 BLAKE2B 45a51974ec3e3db3a9528d7c2073b13536ed291691fda7fd3fd5810cf4b602ab394419bc67286634d6beee65a1f6e12f7962431cd34e64b819c16dd7ed207b03 SHA512 1a3c322bffe3d596283ac4b48c10b83deb9cd5f792bb47974e048994f74117d3f65148424f48a9b4f812cab3b96a1ecc5360b0fd69efc9c4f0326d630046e880
+DIST kidletime-5.86.0.tar.xz 26120 BLAKE2B a1d3f8f91f06ab25a97127d358a6284e968aa678cf65246089e71f3b97d27f8360789886fe7f16ac31078660d32336a2c09574bb9e733639f27fbc793b9d657c SHA512 3d69e15a45434a899565aba9a0f57bd1b47d29d73680a00a2e58c4506937b2e8674d80a97c0672ba3392dae9df032834532169461cd5b8c7b4a5670d7663d91c
diff --git a/kde-frameworks/kidletime/kidletime-5.86.0.ebuild b/kde-frameworks/kidletime/kidletime-5.86.0.ebuild
new file mode 100644
index 000000000000..a3ce5a27e933
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.86.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="false"
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+DEPEND="
+ >=dev-qt/qtgui-${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
+}