summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-20 13:59:13 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-20 16:09:26 +0100
commitc73e2532c9b1f0196d9ea5d269c27e6ca625ed8e (patch)
treee0cd3f5b70722b2a1f55ece7b75775e55d08165f /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.247.0 version bump (diff)
downloadgentoo-c73e2532c9b1f0196d9ea5d269c27e6ca625ed8e.tar.gz
gentoo-c73e2532c9b1f0196d9ea5d269c27e6ca625ed8e.tar.bz2
gentoo-c73e2532c9b1f0196d9ea5d269c27e6ca625ed8e.zip
kde-frameworks/kidletime: 5.247.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.247.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 21b712483d8b..20478f7a9ad6 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,3 +1,4 @@
DIST kidletime-5.112.0.tar.xz 30940 BLAKE2B fd3a50800f159ebc462c4c1330f5d7522d616a63a91661cfc260bbf4cc139154eaf0198abde789af0aa6cd9eb7bfdac3c6da831f4dbf6385119ec5ab6d0a3b53 SHA512 784fade5bb8ee9c0d98d03e14be494eda6ce9550ca8f2e80d4bb91b8cb323519dd49e2de3c787c937936556fb435e588f88df91035c7c056e58c92869b5f3fc2
DIST kidletime-5.113.0.tar.xz 30928 BLAKE2B afcfbe95a856429feb09c878136d283b636dac7b481a63a5904b10027e37b2a3f9665dfa52678e85e335d6a1be1eb45d25728899a8e36e32c11dc3f967fbeb81 SHA512 d10144c73f8b2eae751f45199f2ce87c5887cd5817a131a979602f92a5cb2fe4009255e5edc6b3e0ca070d37f0d2e50d54c39644a3393c56e9560978fc0013ed
DIST kidletime-5.246.0.tar.xz 30912 BLAKE2B 9f4cdcac31540520e2f843b6f61fa1e6644ef7001542127a962e10cfd12daff0b23bf80453db75a76c44bca491d680756df27d2ff8f990dfeb6fd569b25f72cc SHA512 4c90c78e9e588d7cd49ec076c646020c9fbd0f124d69fcafbb67aa2b47445f4eac4fadec50964956cc687c9def82f976415cf456495b1e959e1bdfbf3e85c863
+DIST kidletime-5.247.0.tar.xz 30896 BLAKE2B 029645792961504b8f3da43673ca07e8042ec7c4a5dbe4a3491cecc8286bad4eb5934b22e8c3b6c061ac536c74141f64e982027e36616633f99bcf748b4c315c SHA512 c90f9f408d5d4ef6ca34a8f61c7b1135473425896b97f8eaafd45c7ef38e36662448fb5ecc3bb0a4ecc36103564739d4c71d3264fd095ecced8030fbec31feee
diff --git a/kde-frameworks/kidletime/kidletime-5.247.0.ebuild b/kde-frameworks/kidletime/kidletime-5.247.0.ebuild
new file mode 100644
index 000000000000..3af8fd0e22e5
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.247.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="false"
+QTMIN=6.6.0
+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
+}