summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-06 23:17:03 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-07 10:05:55 +0100
commitfe1b976f6bb237088c5c64adea203203ee68cd05 (patch)
treed5ba874347c082d74c57d9d1c2e12c5ec902b2ff /kde-plasma
parentkde-plasma/kactivitymanagerd: 5.27.10 version bump (diff)
downloadgentoo-fe1b976f6bb237088c5c64adea203203ee68cd05.tar.gz
gentoo-fe1b976f6bb237088c5c64adea203203ee68cd05.tar.bz2
gentoo-fe1b976f6bb237088c5c64adea203203ee68cd05.zip
kde-plasma/kde-cli-tools: 5.27.10 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/kde-cli-tools/Manifest1
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-5.27.10.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 e8277282a5b3..35e21f59e8b5 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1 +1,2 @@
+DIST kde-cli-tools-5.27.10.tar.xz 667316 BLAKE2B 7e9cc1f4097b2286c53ce3efc412650b0611411d1d16ee13e0cf5f0447573c78a4e1676ad2a59dce84dbc5f5aee11a3b0b9878e75718efa3caf89215db66e0e4 SHA512 b8179525d15101568b879ace024f68005aef34b2ab6fe70a1237712b3ace5d3d6442c2090f3bcda2b29ad4ad1cc20a0ded96b23b55bd8e76546d513f4d6ca496
DIST kde-cli-tools-5.27.9.tar.xz 667364 BLAKE2B 7b8dc995d901bdfbea6f27b871d52b1687d2fee11509ac8622d5a2b1e16263776d1be7be106efe087ca0baab1bf3c4e001c40adca3cb4ea2c6ba08a20c527213 SHA512 ff625bda336df1ffa8d093cf2408512d31dcba72c501d1b31f4bd806de96f17e6451f19c70e6a86d55b06115094708a3fcf1527b112f39175e24a74e6b160ab4
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.10.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.10.ebuild
new file mode 100644
index 000000000000..4102eaa9f29c
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.10.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/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
+ >=kde-plasma/plasma-activities-${KFMIN}: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
+}