summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 22:09:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 22:18:20 +0100
commitaef8769cd8d129c0952b7318ddd9aa89b8046f2b (patch)
treeb4d630312e31a7ba54698e80b18492b4fea32c2c
parentkde-plasma/kactivitymanagerd: 5.21.1 version bump (diff)
downloadgentoo-aef8769cd8d129c0952b7318ddd9aa89b8046f2b.tar.gz
gentoo-aef8769cd8d129c0952b7318ddd9aa89b8046f2b.tar.bz2
gentoo-aef8769cd8d129c0952b7318ddd9aa89b8046f2b.zip
kde-plasma/kde-cli-tools: 5.21.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-plasma/kde-cli-tools/Manifest1
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-5.21.1.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index 54d224070b2d..885a2324d0b4 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.20.5.tar.xz 602472 BLAKE2B b42d9e8f89cec058c2d98d37b77310737807ef63d4adc408f5b8150ecfbce5fc8076e3f44dd5a67fb1125a419202529309c04f08295bdc34ed6599153b873179 SHA512 60507745d0df94361cc506d00f82b361656e02b7a35d79f77136536b6916d7f4b5e379986fb1f20bc8401140451e90dc8d08891031b1d7c31c74658f6fb20662
DIST kde-cli-tools-5.21.0.tar.xz 610328 BLAKE2B 23414a157f63227e68ac16551b6085e583467c54d85a6cd1a63f8cd37fb3b40f9da0d24683b6bf481d6687dc4da952cf78a6567a575fc7bc53f2f6c7cd05c753 SHA512 0c580b245e152f878f00d13c202707fec5566ac0101a580a53e0b39a5624aa8e6f2a343147b53af7f54fb496926adea2028eaeedc8b671bc8f76e661bf4ebb2d
+DIST kde-cli-tools-5.21.1.tar.xz 610252 BLAKE2B 17a700d034bdfff39f96e043c78e465afd04dab9265ed8eefc2561249b138b5efab0d273414b3c6b8c6cb928a03fd66c177c9ee554f438fff964bc29903d972f SHA512 20348903c769b29d048024e8bde5f4e5ff078d0a9385e2eca17c19bd333473472f59ab5fb6a477e7fe868d6ad35efe6bcbd35674e3d1d24028e89bf006a28862
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.21.1.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.21.1.ebuild
new file mode 100644
index 000000000000..d7a9e6759567
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.21.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.78.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.2
+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 )"
+# requires running kde environment
+RESTRICT+=" test"
+
+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" )
+
+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
+}