summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-05-13 18:36:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-13 18:55:17 +0200
commit82c25faf68c1786d0d12f1f55ee2dd022333417e (patch)
tree340e7d1fcc6baeccdeb7441245100348f5e39e96 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.106.0 version bump (diff)
downloadgentoo-82c25faf68c1786d0d12f1f55ee2dd022333417e.tar.gz
gentoo-82c25faf68c1786d0d12f1f55ee2dd022333417e.tar.bz2
gentoo-82c25faf68c1786d0d12f1f55ee2dd022333417e.zip
kde-frameworks/kidletime: 5.106.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.106.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 6d1c5271ec5e..13860740542c 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.104.0.tar.xz 30856 BLAKE2B 526bb48e9350b9ccb91e3888b3ab96ba077bcee3b037b7160f8903ea8c22fbe6b4cde2526963dc8132de848de09ae1b3884e24d2ba1cf2a5c005883a9f4309b2 SHA512 eff99a7fc3292b85ba15c8a8c43c5b40a98c416694d4f52e39f40fa70236d7144fe436479a3b09b3a2970c42fb40a77ac9315af055ebc05eb52baf49a3e536b2
DIST kidletime-5.105.0.tar.xz 30860 BLAKE2B dd667d97ce2b73dc5ccd8d8e1ea24ae0277c5fa29ce66e0fb96e875f475cdb5f78778847023e75c8556add9f154f441b67dde7dc4cc83cb8a47fa7acd96c7fe0 SHA512 f96c4c36ea22b8ff7b3d311caac28a938501249a9ef3740b2196d2f8298bf0c6069224c9fbc37c96428a1ccc7bc41eee21da474ae41f88a56d5d5ec910ea5b58
+DIST kidletime-5.106.0.tar.xz 30868 BLAKE2B 9a559e21bf7e0ff6ba660f7a0d4250d57abace538ae04a6e7a4c31dc65b1df709506b5aca60bcf9d8bf4898c5df223b951402a27fb69a0eacb24b653b42f9bc6 SHA512 1fefc848ebe36e00d9ee968e8a3bf57eb6c19a3edb862ed856eb8b41eff5cc524c465d48978befe154613f49b1e4bda384fce46da875b1b02f178b07a6eb3492
diff --git a/kde-frameworks/kidletime/kidletime-5.106.0.ebuild b/kde-frameworks/kidletime/kidletime-5.106.0.ebuild
new file mode 100644
index 000000000000..da0df79b1718
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.106.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.5
+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
+}