summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-10-23 18:51:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-23 18:54:05 +0200
commit56148d2ee3e83c17a64f8672d32143bcb2f56e02 (patch)
tree5a36a0e471249e90170111f32bfdb74897ff64b0 /kde-plasma/kde-cli-tools/kde-cli-tools-5.14.2.ebuild
parentwww-client/firefox: update patch URL (diff)
downloadgentoo-56148d2ee3e83c17a64f8672d32143bcb2f56e02.tar.gz
gentoo-56148d2ee3e83c17a64f8672d32143bcb2f56e02.tar.bz2
gentoo-56148d2ee3e83c17a64f8672d32143bcb2f56e02.zip
kde-plasma: Add KDE Plasma 5.14.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'kde-plasma/kde-cli-tools/kde-cli-tools-5.14.2.ebuild')
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-5.14.2.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.14.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.14.2.ebuild
new file mode 100644
index 000000000000..17d3c1b59aa6
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.14.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="optional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the system"
+HOMEPAGE="https://cgit.kde.org/kde-cli-tools.git"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+kdesu X"
+
+DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_plasma_dep libkworkspace)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ kdesu? ( $(add_frameworks_dep kdesu) )
+ X? (
+ $(add_qt_dep qtx11extras)
+ x11-libs/libX11
+ )
+"
+RDEPEND="${DEPEND}
+ !kde-apps/kdesu
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.12.80-tests-optional.patch" )
+
+# requires running kde environment
+RESTRICT+=" test"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package kdesu KF5Su)
+ $(cmake-utils_use_find_package X Qt5X11Extras)
+ )
+
+ kde5_src_configure
+}
+
+src_install() {
+ kde5_src_install
+ use kdesu && dosym ../$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu
+ use kdesu && dosym ../$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu5
+}