summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-08 23:50:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-09 17:49:59 +0100
commit92ce08d47d7105b5d7a8c7140798a277b9b844ea (patch)
tree41bca5c9474de6cec35e12d8490260764da53970 /kde-frameworks/kidletime
parentkde5-functions: Raise QT_MINIMAL to 5.11.1 (diff)
downloadgentoo-92ce08d47d7105b5d7a8c7140798a277b9b844ea.tar.gz
gentoo-92ce08d47d7105b5d7a8c7140798a277b9b844ea.tar.bz2
gentoo-92ce08d47d7105b5d7a8c7140798a277b9b844ea.zip
kde-frameworks: Add KDE Frameworks 5.53.0
Package-Manager: Portage-2.3.52, Repoman-2.3.12 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.53.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 06ce6bba0713..1fa3decba97a 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1 +1,2 @@
DIST kidletime-5.52.0.tar.xz 26600 BLAKE2B 9215fd81790c592fc2e243cd8856281063196fe45d7dfcf92ff2cc50b619683c0942e17d1aabe5bce0d17b505b96d54efbb3440a0293c155c77416bc38640426 SHA512 abab5fd1e4946dc58410c1d446e97835ed1598ed00dfcf708cd4d2e048809c91f91a6b6da425f767e45a83b80506362dd716f70521b0f1b2101750ebb65fc036
+DIST kidletime-5.53.0.tar.xz 26588 BLAKE2B c39ea07494667c39170c78f71671490f0b285265b57101f0538a2e2d9d17d8b23ead10f4d7115fb4cad327d390ec9c68a1c90d895f593c80e8a2b67def1b0ef9 SHA512 d968a437b03f9b6e1f5148e1a23e801ec7b26151704e80cf432dd811d5d54da3709ff523e8951b9247cd04ff6fe54bb7836ee166ed8db982d6d145d1dfa217cd
diff --git a/kde-frameworks/kidletime/kidletime-5.53.0.ebuild b/kde-frameworks/kidletime/kidletime-5.53.0.ebuild
new file mode 100644
index 000000000000..ebd582058694
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.53.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework for detection and notification of device idle time"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="X xscreensaver"
+
+REQUIRED_USE="xscreensaver? ( X )"
+
+RDEPEND="
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ X? (
+ $(add_qt_dep qtx11extras)
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXext
+ )
+ xscreensaver? (
+ $(add_qt_dep qtdbus)
+ x11-libs/libXScrnSaver
+ )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ kde5_src_prepare
+ if ! use xscreensaver; then
+ sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package X X11)
+ $(cmake-utils_use_find_package X XCB)
+ )
+
+ kde5_src_configure
+}