summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-09-14 16:40:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-09-14 16:52:28 +0200
commit89b88e2e198e9310313799a8cb945aec2a670f5e (patch)
treef5b23c11898f3de1d2131ec0db2fa206b14c7422 /kde-frameworks/kidletime
parentkde5.eclass: Add KDE_DESIGNERPLUGIN handling for kde-frameworks/ (diff)
downloadgentoo-89b88e2e198e9310313799a8cb945aec2a670f5e.tar.gz
gentoo-89b88e2e198e9310313799a8cb945aec2a670f5e.tar.bz2
gentoo-89b88e2e198e9310313799a8cb945aec2a670f5e.zip
kde-frameworks: Add KDE Frameworks 5.62.0
Package-Manager: Portage-2.3.76, Repoman-2.3.17 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.62.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 8f14407fe104..8de26e11e1ac 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.60.0.tar.xz 26840 BLAKE2B 66c3e3b5cebb0d4c4af728708af2545a34d5f0c6a8cb540e3a8ffbd6083ef916bd305137a4da53545d01cf0292f9c31cb0a2c633533e8bf60a803d9f87d4d6fc SHA512 2c2d55a7a3128caf10bd0a6552216c92b5903b5f78c932417a0736abb91b618a4f57fe7310267cec5f5c21c5376386ba1abcc9c758d594a89be281457850a48d
DIST kidletime-5.61.0.tar.xz 26724 BLAKE2B 79143a7edf8c4d7c6917289086f92d07ef3f1ada4038447c2266ac8a1d3596dc990f8d2362533380fbba9d55713677d07eb4f6dea83624211d294d4107eb150c SHA512 ebc9aaac358221b4bba9cd012b8101e9cc0e03245a4eb963594469245b31704e8e508106e1e255d8ddc237defff47a433f2e070c7d3c6cf9576e0faff17926b2
+DIST kidletime-5.62.0.tar.xz 26852 BLAKE2B 9969e09d3095a72bcdc4e37e26480492fd4d4a0435055cc160cd6bbe5262423b1e1cc8f3c7a8e24cbff10f06b46203d8399d3c7017f8e776ba8a67d01da5fe47 SHA512 41de6cd0d6201c7affa1347d5b9af2cdb0e61666c901c8d005bc078b6e064072df32d5d6a89958c58d33bc092268da51cfc4a6d822c29bdd58dea2d0d2e15fa9
diff --git a/kde-frameworks/kidletime/kidletime-5.62.0.ebuild b/kde-frameworks/kidletime/kidletime-5.62.0.ebuild
new file mode 100644
index 000000000000..c79961fda865
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.62.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+DEPEND="
+ $(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
+ )
+"
+RDEPEND="${DEPEND}"
+
+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
+}