summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-08-22 23:21:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-08-22 23:28:37 +0200
commitd1d7cdcae224154eede1ee6944f145946f1eff60 (patch)
tree12065a681fe2484b97689eba69518b952b0c93e4 /kde-plasma/kde-cli-tools
parentapp-doc/php-docs: [QA] Use relative symlink target(s) (diff)
downloadgentoo-d1d7cdcae224154eede1ee6944f145946f1eff60.tar.gz
gentoo-d1d7cdcae224154eede1ee6944f145946f1eff60.tar.bz2
gentoo-d1d7cdcae224154eede1ee6944f145946f1eff60.zip
kde-plasma: Add KDE Plasma 5.10.5
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-plasma/kde-cli-tools')
-rw-r--r--kde-plasma/kde-cli-tools/Manifest1
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-5.10.5.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index ac766ec6834e..dae741cbed49 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1 +1,2 @@
DIST kde-cli-tools-5.10.4.tar.xz 504180 SHA256 069a4032b7f98c2b04358f5af0d2974ec2d963853e144f2625af4412bdb82bb5 SHA512 f79b75d44133cc141ae716000b063d288c6b6be2d3bec2c33a8b48997baafc31d2e85cb4ac8abda1dd6ba6db8d91bd4661c00f1947e0dc75b3ad45d29b371073 WHIRLPOOL dbb96766ccb93d82fe94374fce6684c738b638a1324f01f7fb12e7598aa80cbb1a0e044a02298457bef18fd2bdda0049423891e42d2e9cc5e8f0fb2e24436783
+DIST kde-cli-tools-5.10.5.tar.xz 502000 SHA256 731f962e72a741bba5e3608fc4acca1deb896c670c140e82d814d3bffbca4ec4 SHA512 02836ce8760d8471a9c800c070d78c2e3513ce7a69ea04e2dabb33d5944fe53a7b480f48b9a47d339ec53b5bfd4f9798164b656f3c2080485f62d47703c5ba91 WHIRLPOOL 550209130ceeb2db81651a285691fd1946a72e57630b285f19c7bbf381fed48c6f7b146f55d08c44e8c094811fcc67b404e54274f4350854378586746d23877a
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.10.5.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.10.5.ebuild
new file mode 100644
index 000000000000..b5687b99ba7b
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.10.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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://projects.kde.org/projects/kde/workspace/kde-cli-tools"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+kdesu X"
+
+DEPEND="
+ $(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_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
+"
+
+# 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
+}