aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-03 20:40:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-03 21:23:57 +0100
commit902759b5a4689683f068458c6f9a0f4bfc5370c0 (patch)
tree1e2ae3ef8f8006f25762a75b9a8880fb76580fdf /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.115.0 version bump (diff)
downloadkde-902759b5a4689683f068458c6f9a0f4bfc5370c0.tar.gz
kde-902759b5a4689683f068458c6f9a0f4bfc5370c0.tar.bz2
kde-902759b5a4689683f068458c6f9a0f4bfc5370c0.zip
kde-frameworks/kidletime: 5.115.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.115.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
new file mode 100644
index 0000000000..0381438166
--- /dev/null
+++ b/kde-frameworks/kidletime/Manifest
@@ -0,0 +1 @@
+DIST kidletime-5.115.0.tar.xz 30936 BLAKE2B 060cab0d4ca5ac4bd831015fc70829f4d5b2cc5f6c4404a08832f044f497fe50a9cee3f84926ac5ceba5b66043fd81b2e279a99d159a68bf412e759bf3114627 SHA512 63b7d62dbdb5b8eb8ff3337616984951ae233b859fe8724604058b3217de454957dcc17152d0ab8a4091c8360020962e3730b4ee7cec4532f86b8d0de79a1143
diff --git a/kde-frameworks/kidletime/kidletime-5.115.0.ebuild b/kde-frameworks/kidletime/kidletime-5.115.0.ebuild
new file mode 100644
index 0000000000..fb7e41fe8d
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.115.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="false"
+QTMIN=5.15.9
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="wayland X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+RDEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ wayland? (
+ dev-libs/wayland
+ >=dev-qt/qtgui-${QTMIN}:5=[wayland]
+ >=dev-qt/qtwayland-${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
+ )
+"
+DEPEND="${RDEPEND}
+ wayland? (
+ >=dev-libs/plasma-wayland-protocols-1.7.0
+ >=dev-libs/wayland-protocols-1.27:0
+ )
+"
+BDEPEND="wayland? ( >=dev-qt/qtwaylandscanner-${QTMIN}:5 )"
+
+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 wayland Qt5WaylandClient)
+ $(cmake_use_find_package X X11)
+ $(cmake_use_find_package X XCB)
+ )
+
+ ecm_src_configure
+}