summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-11 14:44:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-11 14:57:13 +0200
commit72ed5a0b8af152d4f87ea15f3704b679a76fb707 (patch)
tree00d64b3fcb6d3e0f606b2a60cf8e63badcd51741 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 6.7.0 version bump (diff)
downloadgentoo-72ed5a0b8af152d4f87ea15f3704b679a76fb707.tar.gz
gentoo-72ed5a0b8af152d4f87ea15f3704b679a76fb707.tar.bz2
gentoo-72ed5a0b8af152d4f87ea15f3704b679a76fb707.zip
kde-frameworks/kidletime: 6.7.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-6.7.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 6886b0df29c9..3b1f245217d4 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.116.0.tar.xz 30928 BLAKE2B 7f9984e4011c13ec242f13647eff2c50c5896c0ae5a0232096fb1a6a1fcb0b7b722bd92ce346cfad8d06f78504f41ac6e44b23496c84c79b8e998d01378da0c8 SHA512 a8172a069266e523cc07f37ce1f4c5f65a421c99eb314e26f68cc32630b8f0da783beee9d2ffe2740113d60ae9b4c280ca9de8bb89bd5db8e56c9b31172ec408
DIST kidletime-6.6.0.tar.xz 30732 BLAKE2B 35438f4e62b5d00400129855f80d43dcce1dc1b65cc9e8d165016cb7b31a2d4c682737612bb259464729e569715ea0dd5ef4beb96c3fcb2ad814b8dd4008e72b SHA512 689d7c63f48795d80dd2b494ef18ec607e0f5f526f20886aa070cbd2ce06eac07e12a37fa8c292c42fb305bce8d7f289eb2f6af54ef431f16731a901105dfbcd
+DIST kidletime-6.7.0.tar.xz 30724 BLAKE2B 8e32eec4fac26dbd207d294d71944c02c4a0cde77343b7ad0fc490534a8c052b03d1d015de531148c650519c9ba41c3b8c2ae71fb63e5aeb4d624058c7fd8181 SHA512 36704eb2196f4da0f8822190a9cc45ff94636b036d7f02911604187e3d7810ab7cec055b9780b9899708037a17f1aa9c1a4b3d63aae67b333081ecf1cd180b13
diff --git a/kde-frameworks/kidletime/kidletime-6.7.0.ebuild b/kde-frameworks/kidletime/kidletime-6.7.0.ebuild
new file mode 100644
index 000000000000..4dcf02bf8677
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-6.7.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="false"
+QTMIN=6.6.2
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="wayland X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+RDEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[gui]
+ wayland? (
+ dev-libs/wayland
+ >=dev-qt/qtbase-${QTMIN}:6=[wayland]
+ >=dev-qt/qtwayland-${QTMIN}:6
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXext
+ )
+ xscreensaver? (
+ >=dev-qt/qtbase-${QTMIN}:6[dbus]
+ x11-libs/libXScrnSaver
+ )
+"
+DEPEND="${RDEPEND}
+ wayland? (
+ >=dev-libs/plasma-wayland-protocols-1.11.1
+ >=dev-libs/wayland-protocols-1.27:0
+ )
+"
+BDEPEND="wayland? ( >=dev-qt/qtwayland-${QTMIN}:6 )"
+
+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=(
+ -DWITH_WAYLAND=$(usex wayland)
+ -DWITH_X11=$(usex X)
+ )
+
+ ecm_src_configure
+}