summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-10 14:15:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-10 14:29:24 +0100
commitb58a4eed24e3ca606144d7c6c9befd4840e71b99 (patch)
treef0f20a5d61644cf34953b44d420c5bc748766d35 /kde-frameworks/kidletime
parentsys-cluster/slurm: Fix init stuff (diff)
downloadgentoo-b58a4eed24e3ca606144d7c6c9befd4840e71b99.tar.gz
gentoo-b58a4eed24e3ca606144d7c6c9befd4840e71b99.tar.bz2
gentoo-b58a4eed24e3ca606144d7c6c9befd4840e71b99.zip
kde-frameworks: Add KDE Frameworks 5.52.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.52.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 8069edd0ca82..2cf608871abd 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.50.0.tar.xz 26568 BLAKE2B 805b0b5f7879220a98c6e99db4cb290f9b4c6786909235e8f0139cd51e82eb0c7dad931abc170e2bee1e00cb163e171ef8b3451afe6915318f0c0640b0b7a651 SHA512 825d7b509c8bca1042b453d600165574c72d684a07159e9eea436e37c720ff2f40c165075d7c9d076689f1f25c75d5e20779e25a29b069ed25339fd83e9baef8
DIST kidletime-5.51.0.tar.xz 26584 BLAKE2B 718b537986080b10dbe438d9b47647ecd1f4304e9db6a79ef985705a8177f4c41dfd2f9519b25c182efb5b01f42d7a8c16f2db3b36c1cf2b29dac4a9c58f980f SHA512 5568ca77a774b780aa68ec320ee4d339c5ec4696db8233f5297772259f11967a929028d4a4a0777c68250bdc3c86f31eea627ae56749c9a8201e6dd8cfb0e207
+DIST kidletime-5.52.0.tar.xz 26600 BLAKE2B 9215fd81790c592fc2e243cd8856281063196fe45d7dfcf92ff2cc50b619683c0942e17d1aabe5bce0d17b505b96d54efbb3440a0293c155c77416bc38640426 SHA512 abab5fd1e4946dc58410c1d446e97835ed1598ed00dfcf708cd4d2e048809c91f91a6b6da425f767e45a83b80506362dd716f70521b0f1b2101750ebb65fc036
diff --git a/kde-frameworks/kidletime/kidletime-5.52.0.ebuild b/kde-frameworks/kidletime/kidletime-5.52.0.ebuild
new file mode 100644
index 000000000000..ebd582058694
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.52.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
+}