summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-15 12:58:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-15 14:31:55 +0100
commit386a2b3b4aae0468fdce1a80683d2c76287a4d48 (patch)
treebc76153bb555db8f4e32c12072f66894d52d309a /kde-frameworks/kidletime
parentsys-apps/coreutils: sh stable wrt bug #711616 (diff)
downloadgentoo-386a2b3b4aae0468fdce1a80683d2c76287a4d48.tar.gz
gentoo-386a2b3b4aae0468fdce1a80683d2c76287a4d48.tar.bz2
gentoo-386a2b3b4aae0468fdce1a80683d2c76287a4d48.zip
kde-frameworks: Add KDE Frameworks 5.68.0
Package-Manager: Portage-2.3.94, Repoman-2.3.21 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.68.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index c1b9f8ff5d23..722624145e4e 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1 +1,2 @@
DIST kidletime-5.67.0.tar.xz 29064 BLAKE2B 4c77fbfa84fb6e334361057089099feea961c134daa0e8ce69fc4489240587834b5110807f209956d00f62c83c0078007dcbc736ddc834bd56974f8a7f5ca7c4 SHA512 46c8f2c2b7b36395f1bdd93a1e9a24a720309c889e31318659ca450af538dc1a5f37f51e56549441ec715c4d94dfffd2b5d49671dd997361dc356bb640f5a4e6
+DIST kidletime-5.68.0.tar.xz 29180 BLAKE2B 1a8559f2fbe9ddb2cb31cdbc870418928031c7d3f0e879e64b50992af5327acc76e57fcab69d5f4df02e5e061cdd68459f6279014d9611691072c2568b3b6a85 SHA512 c803de25cf6f26b2d320ec7e35ba598f134e75575dd8f1c06b41461975c99a6b46e7d60bb34b09ed2d799837cf7682bc3d09ba720b2b7dbb1b1bee668fdb1b01
diff --git a/kde-frameworks/kidletime/kidletime-5.68.0.ebuild b/kde-frameworks/kidletime/kidletime-5.68.0.ebuild
new file mode 100644
index 000000000000..bd515e82d88a
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.68.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="false"
+QTMIN=5.12.3
+inherit ecm kde.org
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${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
+ )
+"
+RDEPEND="${DEPEND}"
+
+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 X X11)
+ $(cmake_use_find_package X XCB)
+ )
+
+ ecm_src_configure
+}