summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-09-13 15:41:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-09-13 19:43:32 +0200
commit01c700c8cff3516d5424061c2d259ed3bd707c33 (patch)
tree2f3b8b0c4488b87aaa87e9eed93d54e7050660d0 /kde-plasma/kde-cli-tools
parentkde-plasma/kactivitymanagerd: 5.27.8 version bump (diff)
downloadgentoo-01c700c8cff3516d5424061c2d259ed3bd707c33.tar.gz
gentoo-01c700c8cff3516d5424061c2d259ed3bd707c33.tar.bz2
gentoo-01c700c8cff3516d5424061c2d259ed3bd707c33.zip
kde-plasma/kde-cli-tools: 5.27.8 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.8.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 d40159745068..b09709309cea 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1 +1,2 @@
DIST kde-cli-tools-5.27.7.tar.xz 666908 BLAKE2B 9e59d85aeb612943d6211443b9724b99be7958f843e6ce767eb8f76968c21f10c918b9b6ab6ef206c079c220a316f0bd1303872ae647356fef9e2f685d4d684d SHA512 df0e295b2e31338a11508c0f9bc1a5109c07e1729a4e30dd8e79800f34b27e6eb063a2b11196a8f8e653f8439360a8fb58348b0ef69a17588b40b08e53f06991
+DIST kde-cli-tools-5.27.8.tar.xz 666812 BLAKE2B fa8c15a31795ae7d1af5d5115d19be6bea2a8204959749f77555b7a51d5d64bcfa519223f080c08418427c36c13a5cede69026cd46aed6b1d12647df0a34b58a SHA512 679756c8e4ac0602e2a8237c4947e11777cd51ef97b765e7d03233d2e71f917abff1ea219a0d5063a1908cb9a99718857232fe61f7e1ad7e14ccc7c55410d290
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.8.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.8.ebuild
new file mode 100644
index 000000000000..f9cbc6d999a1
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.8.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
+}