summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-08 19:57:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-10 10:14:18 +0200
commit46bdd831ea2138c552b2972f5fefb765aba85202 (patch)
tree133d96cfb215320cb02d83f4d725579d1e015a32 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.99.0 version bump (diff)
downloadgentoo-46bdd831ea2138c552b2972f5fefb765aba85202.tar.gz
gentoo-46bdd831ea2138c552b2972f5fefb765aba85202.tar.bz2
gentoo-46bdd831ea2138c552b2972f5fefb765aba85202.zip
kde-frameworks/kidletime: 5.99.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.99.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 55799e79be35..386a01693883 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.96.0.tar.xz 29108 BLAKE2B c8bda958d716da078101c075647306a31cdd6404aacf7a18cdceef47adbcaebc7831d85e2aab94816f7a4acd087bccd8888bb17ef73d82ab7a9a6e4e19701ac4 SHA512 e7f991195ed48264ef11cee07843f7bfb2b93e701bda8fc2dd450d00055b24246b349a4a76f75bb13d81dea03e8170083b28140fb4504769927f5cf68436b335
DIST kidletime-5.98.0.tar.xz 29116 BLAKE2B 79cf456c95c36163d311ec1b79f052cf6d96d7c5426a4c00286a8dddc14040851ed3801a9795867f17fcdf576d161922c40609505a5de8c4049c6ef2b264db75 SHA512 15a5c68c1ca71c20f1284cd75c8bfdf3a3108c7b151eee65e6e41a05099584fe471c6dd17f3de4425bfc64d2b88b4006284d1ba33c4d71931b635aaaa3d79015
+DIST kidletime-5.99.0.tar.xz 30472 BLAKE2B 3339a8304ad1b3b1258674ce79023eee4b3365f5e9f42c3c73142c4b0aee9ba9ba009e80623086e9a73c60647c12e592b43d8d79c515527a8e27c2236e18f6dd SHA512 5a5d4e028460b0a3ed72c143539e44c0b9e84f7c3c425a257233a1f4d3fe02e64d7bad7fd800f276df251acff268b68f151c706c4af45f7b6f5fb3cf0dd4f701
diff --git a/kde-frameworks/kidletime/kidletime-5.99.0.ebuild b/kde-frameworks/kidletime/kidletime-5.99.0.ebuild
new file mode 100644
index 000000000000..8e0809da05cf
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.99.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 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 )
+"
+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
+}