summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-14 09:35:33 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-14 10:42:43 +0100
commita43ef7c319d1f064609c134655995c5aa40fdeea (patch)
treef183c922c6a7944d5dcd7588577d88ad73aa0367 /kde-frameworks/kidletime
parentsci-chemistry/avogadro: Fix cmake w/ >=GCC-6 (diff)
downloadgentoo-a43ef7c319d1f064609c134655995c5aa40fdeea.tar.gz
gentoo-a43ef7c319d1f064609c134655995c5aa40fdeea.tar.bz2
gentoo-a43ef7c319d1f064609c134655995c5aa40fdeea.zip
kde-frameworks: Add KDE Frameworks 5.42.0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.42.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 6dc7abb83c5e..8e05c5eb32c1 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.40.0.tar.xz 26616 BLAKE2B 17c3e7d87156ad732f38ed0e4d0bdc4e4eb816d10686fd084a553216ba8ac4e5d0fc35590d5bcccb9deb100619539e79ec417643c31105e26b13ba392ff702b0 SHA512 b8c8c1de1c2261ad52ba80a11388a90ffa18c80153b58b0063184e14fe1c744465c150ef4e9be6692ca81330c52230029b406e8ae240e6738300f8977411a6ba
DIST kidletime-5.41.0.tar.xz 26612 BLAKE2B c501488b442e3127816d870f6273f69f6c6fa1378003ccc96400b0e9110808a3b25b7a8f8f18990709e3b555ac439464be13d048bbd98d7748f809ff0138c411 SHA512 7dab05f459592ff4b81f56761cd04845c4c236a1674cdc273aef5604fcf5b649cc3a9ca6092d9222dfafaf2b38d9d783820e632d44228b5e5e26d1337f98f9ec
+DIST kidletime-5.42.0.tar.xz 26496 BLAKE2B c9815a7b09c526c67b43b33630573ba05193215d468ac7ed7fc91aff802bcf4d766490fff8a777c9c18fa3c78b3a6d5c0d76faa1c56eb568e76346569d7efb93 SHA512 78c89d83f7f46ef2c0a5c5adeb32b2f46129af1ae06ed29009cc6677876bcdf4441179bc3e760b4fef82a5a19b194017b4e12eb122403dd661e65d59f303663e
diff --git a/kde-frameworks/kidletime/kidletime-5.42.0.ebuild b/kde-frameworks/kidletime/kidletime-5.42.0.ebuild
new file mode 100644
index 000000000000..10865cb9fe0d
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.42.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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
+}