summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-09 11:50:00 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-09 13:31:40 +0200
commit78d3baee6a4c834139f8030a632e31db75cab0c6 (patch)
tree97353bfd1f6a7a440e3975e56e8b4ed8e8a01c26 /kde-frameworks/kidletime
parentapp-text/libmspub: Fix build with GCC 10, EAPI-7 bump (diff)
downloadgentoo-78d3baee6a4c834139f8030a632e31db75cab0c6.tar.gz
gentoo-78d3baee6a4c834139f8030a632e31db75cab0c6.tar.bz2
gentoo-78d3baee6a4c834139f8030a632e31db75cab0c6.zip
kde-frameworks: Add KDE Frameworks 5.70.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 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.70.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 3d1fbeb65784..93a37693295b 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.67.0.tar.xz 29064 BLAKE2B 4c77fbfa84fb6e334361057089099feea961c134daa0e8ce69fc4489240587834b5110807f209956d00f62c83c0078007dcbc736ddc834bd56974f8a7f5ca7c4 SHA512 46c8f2c2b7b36395f1bdd93a1e9a24a720309c889e31318659ca450af538dc1a5f37f51e56549441ec715c4d94dfffd2b5d49671dd997361dc356bb640f5a4e6
DIST kidletime-5.69.0.tar.xz 29144 BLAKE2B 58488a7c686122bcf387252e4d66a933ac8143799d0454aa3cbcba4bb2e9b6f208d8f45505b8ac99fc0cecfccf74f61b5be20a896a952a2fd9afc9cf0bc024c6 SHA512 23c52b5ded771f82c02cfcafdca40d425d1c7b7ceee412a1d1d7386b6b7d45c25e93d43b40bd6dc560f4ff9a4a171477fc7d6d211c83d62a50e1d783c6561d15
+DIST kidletime-5.70.0.tar.xz 29136 BLAKE2B aab42e49dd3abac7a995e27112d5181ed43123d69a2a47dfedb00406a70ca5d52dd4e01b8e6f8ba52483187f519f3a224a18098a94086505b2cd0394fbf60eaf SHA512 c5ada7ee3cb225509966b9a3315fe4b8e136fe0750ea5e5cb9a543010d5a4b279030d79d526ea8d47e1715434bad09e8f06394cba2362db527546fc55b6bc22c
diff --git a/kde-frameworks/kidletime/kidletime-5.70.0.ebuild b/kde-frameworks/kidletime/kidletime-5.70.0.ebuild
new file mode 100644
index 000000000000..bd515e82d88a
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.70.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
+}