summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 13:46:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 13:46:10 +0200
commit82d39affe7c0394f58b7dbda11a4df2d233e86d1 (patch)
tree0c87d649221962703f877bfcae356c45a4d72b6c /kde-frameworks/kidletime
parentkde-apps/kde-dev-utils: Fix build with KF-5.48 (diff)
downloadgentoo-82d39affe7c0394f58b7dbda11a4df2d233e86d1.tar.gz
gentoo-82d39affe7c0394f58b7dbda11a4df2d233e86d1.tar.bz2
gentoo-82d39affe7c0394f58b7dbda11a4df2d233e86d1.zip
kde-frameworks: Add KDE Frameworks 5.48
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.48.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 17412010703..9ccee40447e 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.46.0.tar.xz 26580 BLAKE2B 4d14fde1f56dbb26dfbc3a5cd8920fc44c1ad6fc31e8c987332d24c6815964c8561285f097622378c4fdd5f8bdd949c0298cf3aeaa99c97cd855c1e90bb201fa SHA512 43994cf09ce659d7f5e2b0d77b4b97631e7c7e87a8ded21a626a5e16ba9c3101fd1c9ab120756fea170f7024e5fa5141e583e51f032f4def4674c209fc6b759f
DIST kidletime-5.47.0.tar.xz 26596 BLAKE2B 1c8ca21f447f6679bf9a3cdc622834b35c069b4fe4dfadaad4976db0959bc324bccd6060967e601e550e43ce818825b47a5c3e0a9fb5064171f52487577fb528 SHA512 3a6cef533e9dec38e3d546d4c542150eec94e748c84d8fedb433aa2168655542d213b6699923d70e64efdcc41ff8229c0fde38b04ec78ab94c80560b83a75ccb
+DIST kidletime-5.48.0.tar.xz 26584 BLAKE2B e3c933a6d6a20156d08b8a4d214aed0cce4d2d235624f81e9571798fcf6680315326e25aa9440954a722fe116d56278101334e6763ea222bd4c8ab59139777cf SHA512 5ac2b16e5870e7123ef20b5a0f42104657a1d587bb0cac6476ca4f07e80faf367733fa54f0f16cb3348e5f41560deabd948c10552183dc68b9483b76f88f1281
diff --git a/kde-frameworks/kidletime/kidletime-5.48.0.ebuild b/kde-frameworks/kidletime/kidletime-5.48.0.ebuild
new file mode 100644
index 00000000000..10865cb9fe0
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.48.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
+}