aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-09-21 20:05:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-09-21 20:25:59 +0200
commit2ea69124bf7438c4d02a0f9be4c599b5bde515e2 (patch)
tree467885880dae902d0bb697f33585040871e189db
parentkde-plasma/kactivitymanagerd: 5.22.90 version bump (diff)
downloadkde-2ea69124bf7438c4d02a0f9be4c599b5bde515e2.tar.gz
kde-2ea69124bf7438c4d02a0f9be4c599b5bde515e2.tar.bz2
kde-2ea69124bf7438c4d02a0f9be4c599b5bde515e2.zip
kde-plasma/kde-cli-tools: 5.22.90 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.22.90.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
new file mode 100644
index 0000000000..d5316b1273
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -0,0 +1 @@
+DIST kde-cli-tools-5.22.90.tar.xz 631408 BLAKE2B 5294891d3d6553dd87378292a6e59b7bd90607e989648493ae01f8d205bfccb832bc7051715a4efd76b4b476c56de47240d0c4968df7c6f3f08bd70dbb3b704a SHA512 85d0f2ddcd24c8082f78b44207358fca952ec8fc60172ab0a4a2ea851ba8db9b1f72eba7956ac95136d58049ae9f5257f0677e7847efb61b607d636c18d854a3
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.22.90.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.22.90.ebuild
new file mode 100644
index 0000000000..656d0a4e75
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.22.90.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.86.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 ~riscv ~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
+}