summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-04-14 21:25:50 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-04-14 22:01:06 +0200
commit3ac32b698e9d592d9bdcac17ad0e2e84dfb58fcb (patch)
treeb45600b858ad0e47728745c83ee8c651746f2871
parentkde-frameworks/ki18n: 6.1.0 version bump (diff)
downloadgentoo-3ac32b698e9d592d9bdcac17ad0e2e84dfb58fcb.tar.gz
gentoo-3ac32b698e9d592d9bdcac17ad0e2e84dfb58fcb.tar.bz2
gentoo-3ac32b698e9d592d9bdcac17ad0e2e84dfb58fcb.zip
kde-frameworks/kidletime: 6.1.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-6.1.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 4459c7989c9e..59a5deba2c77 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.115.0.tar.xz 30936 BLAKE2B 060cab0d4ca5ac4bd831015fc70829f4d5b2cc5f6c4404a08832f044f497fe50a9cee3f84926ac5ceba5b66043fd81b2e279a99d159a68bf412e759bf3114627 SHA512 63b7d62dbdb5b8eb8ff3337616984951ae233b859fe8724604058b3217de454957dcc17152d0ab8a4091c8360020962e3730b4ee7cec4532f86b8d0de79a1143
DIST kidletime-6.0.0.tar.xz 30872 BLAKE2B 455395f08ab3f321f455d35b1095d46cb5665ed95ba2d39c62fa99b5208fde150a8be4fe13e4ef03707dec91cfa53375cf001411334195753913d33e9032ff1f SHA512 cf33f722dc88962d72d8eaa51cf943028810024806e7610bbd23f3d2d523b7c99183227360528ea3a2f7c6ab017f315ddae33694377f3ba190adde611d7ea0f2
+DIST kidletime-6.1.0.tar.xz 30912 BLAKE2B 80f69554332cc74444497d2e3ac554400eed9c937aa066f16ae5331caf3f40a33836e583f42d759a161ef9b1348391dc1e6b5fd8f6cc5d7e6bdabb25f7712c50 SHA512 9a958ccfb6a0b4bb32b481279b9ca0f96ab84a9400ed68da7c3712fefec070983d9c00e29ed9f6a53409796f73db4e32c41ebe275dd51ece21b6b00044f94828
diff --git a/kde-frameworks/kidletime/kidletime-6.1.0.ebuild b/kde-frameworks/kidletime/kidletime-6.1.0.ebuild
new file mode 100644
index 000000000000..a4213e68004d
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-6.1.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"
+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
+}