summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-13 19:57:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-13 20:43:12 +0100
commitd4fe789db1d07b9069fafd3728f09cfc325800d6 (patch)
treecaf29d096849a0b777c8c3a2383fc0666c6d11eb /kde-plasma/kde-cli-tools
parentkde-frameworks/kholidays: Restore accidentally lost ~arm,~arm64 keywords (diff)
downloadgentoo-d4fe789db1d07b9069fafd3728f09cfc325800d6.tar.gz
gentoo-d4fe789db1d07b9069fafd3728f09cfc325800d6.tar.bz2
gentoo-d4fe789db1d07b9069fafd3728f09cfc325800d6.zip
kde-plasma: Add KDE Plasma 5.12.1
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.12.1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index 5abef22c8c10..a2851dc059a2 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.11.5.tar.xz 597040 BLAKE2B 8e17d08d45699c618325710fd4a054e1acde34e17965b65fb9054111d77e8c944fb4806d7d50e5073debabc948c79bf167887243c68e3227fc0c74c31d5eea74 SHA512 1f1363026d7d372552a06db19630a7deece8228bba020c0469971012f6393d4439fc56645b7348fca777b27dd86f7ffe8299c6e024384aaf7525d91baebe4b48
DIST kde-cli-tools-5.12.0.tar.xz 570692 BLAKE2B b9d77acee27f96b3ac362ed3c9d5b2a8f11e93df3ef9941ed7e269a21a62aaf4aa1deae310660b72045df6a4238478650e43d0318543b3ecf85c9f0621e20fc8 SHA512 3091f6c722fbfdfcc3a97932f4895536fb551c35b827a1b833e7cf066f2ea99ca3197ee8114ed347e089e436d0998332413079d86e71f686517c3197350872d6
+DIST kde-cli-tools-5.12.1.tar.xz 571488 BLAKE2B 01ed7b5bb910f1a3bde38baf893fc0f03084439d66489783139ce9a5dffab3cc5064ea106cc1f4b4f27dcbac5e5e9b867d2d810adc9bd922260f51113e3ee435 SHA512 780bccb6a03bfb7e11764521713b828fa73b4c89bf4f3077e83f7bc3842888eb5a9fb083aa6b325fb9a7537cda35c99e71acb643c908cf1c04e9f01b7eab780f
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.12.1.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.12.1.ebuild
new file mode 100644
index 000000000000..bcf243febb89
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.12.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 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://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_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
+}