summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-03 12:51:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-03 12:55:08 +0200
commita76abf47ec66858dde347079afa915589b44b7bb (patch)
tree9681d4d56bc37c200495f2716d28b40eeee25ffb /kde-plasma/kde-cli-tools
parentprofiles: arm: Add plasma-meta[browser-integration] to p.use.mask (diff)
downloadgentoo-a76abf47ec66858dde347079afa915589b44b7bb.tar.gz
gentoo-a76abf47ec66858dde347079afa915589b44b7bb.tar.bz2
gentoo-a76abf47ec66858dde347079afa915589b44b7bb.zip
kde-plasma: Add KDE Plasma 5.13.2
Package-Manager: Portage-2.3.41, Repoman-2.3.9
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/files/kde-cli-tools-5.12.80-tests-optional.patch10
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-5.13.2.ebuild62
3 files changed, 73 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index 4546c5bfa221..dbb93cc1079f 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.12.5.tar.xz 572368 BLAKE2B 3ae149989fa56a1a4e5bc77c2c3233c956fa31cbb23ceb2cbaa0eec1683d0135083ab7cd99d3d69f96c1ec925fbee7a18a8a23ea7d17de3929b5f8844f124125 SHA512 821cc978ad460f357dcb994de0cd92f0ef52c8de70731533a624ec62c6daf24846ef603eb9142f94712527cc9aaeaa4ef0b62c03f798ef53b7afbfec1f33cb6c
DIST kde-cli-tools-5.12.6.tar.xz 578096 BLAKE2B cbf5b0dae1b008fb14d26c01c187b15179194b59fa16010f75513060c83972b1deca3f87dc33d064ea78ac771d2c30d3637b8048709d64214122c63686caf847 SHA512 f45a0781660609bbbfa3a7b1cf3fe16cc8a29797061f0ddaeab1182d3065442c167a5fdfa43fab84d5dcc382a6b393138d63ea68e5615fbd93c5cd76b121872d
+DIST kde-cli-tools-5.13.2.tar.xz 582144 BLAKE2B daccfb34c3b28b3889570c93d43454afda4d6c1b585f8e04e810b212abd3508d4edc353fda0c9c93a1fb56e1b2d1812a47120cb531db0575305db2d65357b695 SHA512 2bedec4cc6be0af022316052ee0352c8baa5a0e1df9f6e53463969ecf8f1841b04e8fe0646e9a49ca80430bd0a81036a17385f1c3a456a13dd2e5e9632bf801c
diff --git a/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
new file mode 100644
index 000000000000..11e032847c96
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
@@ -0,0 +1,10 @@
+--- a/keditfiletype/CMakeLists.txt 2018-02-14 22:09:07.341549164 -0700
++++ b/keditfiletype/CMakeLists.txt 2018-02-14 23:02:11.126749356 -0700
+@@ -1,4 +1,6 @@
+-add_subdirectory(tests)
++if(BUILD_TESTING)
++ add_subdirectory(tests)
++endif()
+
+ # KI18N Translation Domain for this library
+ add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_filetypes\")
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.13.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.13.2.ebuild
new file mode 100644
index 000000000000..15089440b220
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.13.2.ebuild
@@ -0,0 +1,62 @@
+# 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_plasma_dep plasma-workspace)
+ $(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
+}