summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-27 21:07:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-27 22:25:35 +0100
commit4b2412972f09409599948927b705c5073a8c98a1 (patch)
tree12458ba22ea2676225152f1fb898da5c7ad09ea5 /kde-plasma/kde-cli-tools
parentkde-plasma/kactivitymanagerd: 5.20.2 version bump (diff)
downloadgentoo-4b2412972f09409599948927b705c5073a8c98a1.tar.gz
gentoo-4b2412972f09409599948927b705c5073a8c98a1.tar.bz2
gentoo-4b2412972f09409599948927b705c5073a8c98a1.zip
kde-plasma/kde-cli-tools: 5.20.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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.20.2.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index 1e2829f5fdf9..aa278b5359f3 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.19.5.tar.xz 600580 BLAKE2B bfe77d7d5d9528b3b7d089341afa1cf48bd05d2b82c596a85eddaa197ec9ddce4c83f223e6698979b10e764f4468b3a5bfc94777400d8aa927227cbd0508c975 SHA512 9e8de408643caad7c0de52cd348c35678c92b478587a2e7fd6b0cfd1d93dd578d9060c58b1dacf4b0143840d61860b51f41b53b7c2349112b855c9bad3c9b897
DIST kde-cli-tools-5.20.1.tar.xz 597036 BLAKE2B 1de6fb58899d34d738a9fa488dd755d5cbb76faf2667d80256037d7fa10aa89811f9d47655cbbf0b5a21022031ca770c225af8787b2f734478d8344d1c3a7104 SHA512 d73a3466999caa36bbe3bc78578ce88f15b7ea7a96f1f79a95db51e3f70f25ac627b87d07154fe5d2e8c04dcef1309506a17c8443c497961e98af7f3555cb1c5
+DIST kde-cli-tools-5.20.2.tar.xz 597140 BLAKE2B 8ea452d81ffb2da5c3466a19ac3a1646c9bb71716d8c8925b445222792295f24407e2649e63e598a4b61fa6182c6d7cb64a97b6c4798a66b1dbe6c0f9bb7c486 SHA512 ff5a3f02fd804ca26e25cd572c0c3ecdca5ff268fe5ff10cec8860b3334b7781f1923dbe03a8fdcaa679aeb6f6ad23e20f2da7d9667b331b12554b5353ed5a49
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.20.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.20.2.ebuild
new file mode 100644
index 000000000000..8f483a252e8e
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.20.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.74.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.1
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the system"
+HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="kdesu X"
+
+REQUIRED_USE="kdesu? ( X )"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kactivities-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-plasma/libkworkspace-${PVCUT}:5
+ kdesu? ( >=kde-frameworks/kdesu-${KFMIN}:5 )
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libX11
+ )
+"
+RDEPEND="${DEPEND}
+ kdesu? ( sys-apps/dbus[X] )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.12.80-tests-optional.patch" )
+
+# requires running kde environment
+RESTRICT+=" test"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package kdesu KF5Su)
+ $(cmake_use_find_package X Qt5X11Extras)
+ )
+
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ use kdesu && dosym ../$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu
+}