summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-28 14:39:07 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-28 16:43:36 +0100
commit7b05d7d8971477875997ebf2b742f2d5f4006baa (patch)
tree81ae5a8eac452067845ed9c1bc0686f235259eb7 /kde-plasma/kde-cli-tools
parentkde-plasma/kactivitymanagerd: 5.27.2 version bump (diff)
downloadgentoo-7b05d7d8971477875997ebf2b742f2d5f4006baa.tar.gz
gentoo-7b05d7d8971477875997ebf2b742f2d5f4006baa.tar.bz2
gentoo-7b05d7d8971477875997ebf2b742f2d5f4006baa.zip
kde-plasma/kde-cli-tools: 5.27.2 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.2.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest
index 56c6e85ea378..d7d2344d0d98 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.26.5.tar.xz 630776 BLAKE2B 5ddad1d2833a20d8aa6a99e0a2626f7a7c08c7b7526b608ba6dbba4a20a36e73e0bb168ef29a5b4a794d1e48f1dede39bd0fc98405b4dd0ec3ecc844075f1055 SHA512 59f214c7fdc4ead47635713a98115883c0672a7382c20b32b925b38379de60ff36691460432b23f9d7928d423c487947614ac15076fa907db1a7bfc2227cfa60
DIST kde-cli-tools-5.27.1.tar.xz 657200 BLAKE2B 0b9c31ce1ac4b5d02e6e7c5e49b83136776241aad46d6dedcc2dc92041ccf698e66366fd11a5235e304853326c15193595ee532734434780f79b7f1a31895b04 SHA512 a9727119fb60a6cdb8565d9e59a39afb70fc72389765af12d2067c008f0ea818d316d9c86364263718649074085749cd2319cd68bf864800d8ca5c49769ec97e
+DIST kde-cli-tools-5.27.2.tar.xz 657280 BLAKE2B 5e5359fbffd25f3b667b9cd17a983b71f08927a7254559747500ef62bf2bb5f0cef6a3f2245e0cc30e9fcc03ea99908f90620452b2af396b77548fc4f735dfa6 SHA512 9aec8b9d0bdeb97c7a686eee5b93cb9a36111f1e664cfe7bb72fdc251805b754b6050cf937504be707d6041dca10c4c297ba8d38612c294b4ec7b709b4068fe4
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.2.ebuild
new file mode 100644
index 000000000000..35fa3b452395
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.27.2.ebuild
@@ -0,0 +1,70 @@
+# 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.102.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.7
+VIRTUALX_REQUIRED="test"
+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
+}