summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-04-16 21:08:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-04-16 21:50:22 +0200
commiteed2c5e8ef57b8daee960628daa0f3c6ac6aa630 (patch)
tree09575ac8713c4c5defe3b637943d1844940f8c84 /kde-plasma/kde-cli-tools
parentkde-plasma/kactivitymanagerd: add 6.0.4 (diff)
downloadgentoo-eed2c5e8ef57b8daee960628daa0f3c6ac6aa630.tar.gz
gentoo-eed2c5e8ef57b8daee960628daa0f3c6ac6aa630.tar.bz2
gentoo-eed2c5e8ef57b8daee960628daa0f3c6ac6aa630.zip
kde-plasma/kde-cli-tools: add 6.0.4
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-6.0.4.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index 5a74c48ee01a..3bd7475b4e46 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.27.11.tar.xz 670892 BLAKE2B 56463030f1935dd722212282000f9fd5e337de7171cc2f9ec08fdae66ed681463680af33fa5ac6b21c93e9eebbb4b415a211f0e72f075521960084afa69bfdb0 SHA512 8f6bbe39df4e491a28d3c6576c58bcbf74971f54157a8cdbc3bb7d4719a31d83f38bae45402cb8f48f11bd37d907bb625f89b929b83a2bb459d7c9c836d78006
DIST kde-cli-tools-6.0.3.tar.xz 627736 BLAKE2B b826c8106f58a79018016a9f9b6d37cb17960f50a69e6e994ee421bb7f69d8b6a27ecd15c5210eee89f7c3074b1a376d1703731635fb6ad2fcdc0f4cfffd228f SHA512 1090267afd99929ddf7eeeb17f9f39cb6bba0e8ef441d22a9c64301b9ff623a23bf5d2410fdec184408b8ed7d83622cee909c6e7b23299ad95ac58eae7fc0cf5
+DIST kde-cli-tools-6.0.4.tar.xz 627724 BLAKE2B a2315befa9a490606848b5acddd2bc40f3aabbb6547d0557bee9df49552346297942c1054e5576a65d3754952a90a0ec681d589c81904692df57499e3878a6b5 SHA512 ad2fc4440eddf9f4fbc732e43373838aa2f137a891acaf9cb49b2383ea27855f7bab667c53d9071111fcf11e6f149c926ebebaa6ddf29c74f2bedecebb42e1c5
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-6.0.4.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-6.0.4.ebuild
new file mode 100644
index 000000000000..57a1fca30b26
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-6.0.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=6.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=6.6.2
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Tools based on KDE Frameworks 6 to better interact with the system"
+HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="kdesu X"
+
+REQUIRED_USE="kdesu? ( X )"
+# requires running kde environment
+RESTRICT="test"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-frameworks/kcmutils-${KFMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kiconthemes-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kparts-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6[X?]
+ kdesu? ( >=kde-frameworks/kdesu-${KFMIN}:6 )
+ X? ( >=dev-qt/qtbase-${QTMIN}:6=[gui] )
+"
+RDEPEND="${DEPEND}
+ kdesu? ( sys-apps/dbus[X] )
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
+
+PATCHES=( "${FILESDIR}/${PN}-5.12.80-tests-optional.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package kdesu KF6Su)
+ -DWITH_X11=$(usex X)
+ )
+
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ use kdesu && dosym ../$(get_libdir)/libexec/kf6/kdesu /usr/bin/kdesu
+}