summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-08-16 10:49:02 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-08-18 10:25:16 +0200
commit95e12b4e658536a544e33ecd83e72986b644b2d5 (patch)
tree9326895bfd2da849a246c7b56ce3d3ba6cace1c2 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.109.0 version bump (diff)
downloadgentoo-95e12b4e658536a544e33ecd83e72986b644b2d5.tar.gz
gentoo-95e12b4e658536a544e33ecd83e72986b644b2d5.tar.bz2
gentoo-95e12b4e658536a544e33ecd83e72986b644b2d5.zip
kde-frameworks/kidletime: 5.109.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.109.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 87a0307a578f..e0596285877c 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1 +1,2 @@
DIST kidletime-5.108.0.tar.xz 30848 BLAKE2B 954d7830982ebbaff3de0fac175c33bc544bb172ee06bfd38bba5505bb3357da54f363481ddcffcc78d871d35597c617bcb88ef29c862375daa01b2dfc4bc584 SHA512 48972772548b8b81fcee7d06537cddc158c913d77aac7a233200eb29d17f7f6e1d2d314c60b97bf1c215b5a544c0ba6c58521b2dbdb827ac2cda950356a9cbfd
+DIST kidletime-5.109.0.tar.xz 30944 BLAKE2B 748f15a2135cee4bbcedf81646ab780e1dbe97bce2d0647ad798dce21bfd0217a2c456ff21db2709111cd2f39a643998ed3e8e5ad6ddb98fb72bee1a2c39e8c7 SHA512 f0191415fd5e86adc60ee72b454efb03c4bb9729d0585baf8dbd2411663a58415b338ceb4a2681e90fc14df938f8c9750d6ca6dcfce4816762843bd32135997b
diff --git a/kde-frameworks/kidletime/kidletime-5.109.0.ebuild b/kde-frameworks/kidletime/kidletime-5.109.0.ebuild
new file mode 100644
index 000000000000..55b6540f4152
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.109.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 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 ~riscv"
+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
+}