summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-08-01 12:04:48 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-08-01 12:57:25 +0200
commit92c539687af0afac7192d9464d51012c8b034882 (patch)
tree1cbbe0be07b456b2026f330484dae0227a9789f7 /kde-plasma/kde-cli-tools
parentkde-plasma/kactivitymanagerd: 5.27.7 version bump (diff)
downloadgentoo-92c539687af0afac7192d9464d51012c8b034882.tar.gz
gentoo-92c539687af0afac7192d9464d51012c8b034882.tar.bz2
gentoo-92c539687af0afac7192d9464d51012c8b034882.zip
kde-plasma/kde-cli-tools: 5.27.7 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.27.7.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 1a86d251f983..0b60b94ffc34 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1 +1,2 @@
DIST kde-cli-tools-5.27.6.tar.xz 666928 BLAKE2B 1acfc42d23eb64acebcca00fa7ed318992669fc071a32e668da5aa2b81b026b368aba53bbd3bb72e8dd471a9bf451f69666eded701fee8351b5183334cc00084 SHA512 14e8e5621c2886d8a48fda149ec2e87b5223a0d74447e13f72cb0a0fa93fdf7793a8526ff8b050bcec711f999575b7b298d85a014f36e3716bf86a49d4b317cf
+DIST kde-cli-tools-5.27.7.tar.xz 666908 BLAKE2B 9e59d85aeb612943d6211443b9724b99be7958f843e6ce767eb8f76968c21f10c918b9b6ab6ef206c079c220a316f0bd1303872ae647356fef9e2f685d4d684d SHA512 df0e295b2e31338a11508c0f9bc1a5109c07e1729a4e30dd8e79800f34b27e6eb063a2b11196a8f8e653f8439360a8fb58348b0ef69a17588b40b08e53f06991
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.7.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.7.ebuild
new file mode 100644
index 000000000000..f9cbc6d999a1
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.106.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.9
+inherit ecm plasma.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 ~loong ~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/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kparts-${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] )
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5"
+
+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
+}