summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-19 20:59:48 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-19 21:24:43 +0200
commit6f13303f0f0320c25e6f9dca0acc9137af4847eb (patch)
tree9c1fd8394adea47368bdc3db86363cbb0de55990 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.116.0 version bump (diff)
downloadgentoo-6f13303f0f0320c25e6f9dca0acc9137af4847eb.tar.gz
gentoo-6f13303f0f0320c25e6f9dca0acc9137af4847eb.tar.bz2
gentoo-6f13303f0f0320c25e6f9dca0acc9137af4847eb.zip
kde-frameworks/kidletime: 5.116.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.116.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index f13394d96778..4931ae33d62d 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-5.116.0.tar.xz 30928 BLAKE2B 7f9984e4011c13ec242f13647eff2c50c5896c0ae5a0232096fb1a6a1fcb0b7b722bd92ce346cfad8d06f78504f41ac6e44b23496c84c79b8e998d01378da0c8 SHA512 a8172a069266e523cc07f37ce1f4c5f65a421c99eb314e26f68cc32630b8f0da783beee9d2ffe2740113d60ae9b4c280ca9de8bb89bd5db8e56c9b31172ec408
DIST kidletime-6.2.0.tar.xz 30712 BLAKE2B 37e605e9a26dc6868ac2c83d15e66eecf13cc7cff351282478ef22803f067f03c142121efdf753a8ae7a7b3660974cd6a8cafcbe705960a6512f99b4e3e81214 SHA512 ae16fbca9e7e050d28d7ca068ed6c17365e2444456e669e8b96850f613dc5382b1a1fb5963fb3a585e57a3c361b446572892179970c292917c15b5120cd06269
diff --git a/kde-frameworks/kidletime/kidletime-5.116.0.ebuild b/kde-frameworks/kidletime/kidletime-5.116.0.ebuild
new file mode 100644
index 000000000000..fb7e41fe8d67
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.116.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
+}