summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-12 10:58:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-12 12:09:36 +0100
commiteb54bf628d4536d2a822a8a91ca510cce9397a89 (patch)
tree54c23a08c65f29f52bb8fa5df0441f2225d24c3a /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.103.0 version bump (diff)
downloadgentoo-eb54bf628d4536d2a822a8a91ca510cce9397a89.tar.gz
gentoo-eb54bf628d4536d2a822a8a91ca510cce9397a89.tar.bz2
gentoo-eb54bf628d4536d2a822a8a91ca510cce9397a89.zip
kde-frameworks/kidletime: 5.103.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.103.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 1d0f914dd8a9..db92fa71aff0 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.102.0.tar.xz 30848 BLAKE2B ccb7b754ff573ab9dbdaf0badb5f403bb9db90ac22b0cd5a4210a866c2afd365a30ee7245337c7589c475323cbb20fbe5b3737bb99d344c3ab531c811c59833b SHA512 5aeddaf18d89c1ae5f9a23950a319d7d3659f713258e6297f1cb9a76c39514d434be80ec87e76c5fa892c445c69263742a13614ffcc5ae8a9c0cd47c57c43f08
+DIST kidletime-5.103.0.tar.xz 30844 BLAKE2B ac76387606eea145ce8b8d0b238f9f1705d674b8c26b78bc345a79f2aa450d9d900cf95adecd67803dc42034cb397c636dd4d2290cb65314a66dff0ae6330d12 SHA512 3f24b03c55edc98949272975e2374f7c4644f14af4e56f525916583926058310aca255a9c9fb54ae958061dca8b48e0b18bd48e0cf34f51292999688fd61cfa1
DIST kidletime-5.99.0.tar.xz 30472 BLAKE2B 3339a8304ad1b3b1258674ce79023eee4b3365f5e9f42c3c73142c4b0aee9ba9ba009e80623086e9a73c60647c12e592b43d8d79c515527a8e27c2236e18f6dd SHA512 5a5d4e028460b0a3ed72c143539e44c0b9e84f7c3c425a257233a1f4d3fe02e64d7bad7fd800f276df251acff268b68f151c706c4af45f7b6f5fb3cf0dd4f701
diff --git a/kde-frameworks/kidletime/kidletime-5.103.0.ebuild b/kde-frameworks/kidletime/kidletime-5.103.0.ebuild
new file mode 100644
index 000000000000..da0df79b1718
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.103.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
+}