summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-plasma/kde-cli-tools/Manifest1
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-5.24.2.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 a79e9426dc73..3d4aed195bdf 100644
--- a/kde-plasma/kde-cli-tools/Manifest
+++ b/kde-plasma/kde-cli-tools/Manifest
@@ -1,2 +1,3 @@
DIST kde-cli-tools-5.23.5.tar.xz 631208 BLAKE2B 0fd1f5bf51f74d40631097f050ac1a424ac7309ffc3dbd4be36b5f62035e2d57f212e0c32f21d7e79ea43c2f1aecc46e45efe1042ae067895fc8d36af7c1ac54 SHA512 5dc192d0ea512c2e25637f65bd2eec2fc2d2388b5756ac987bf66948c336669ae0259c9a883cd0f2c6d01206e569b17aab73a639ee1c7c0cf5764dfe4c2718e3
DIST kde-cli-tools-5.24.1.tar.xz 632468 BLAKE2B b143c1b6add83edf2a3d410c4ad4dded0439bc2b85034fdce984ca07e607ef1605024aa4b5cfe3fea8b573625289d618633692eab4a8aec2b1dbc1c8ae08d969 SHA512 fcfc7aebfcde25960477e89f456dabed9eba2634afcc312cd497a6e64d2d1a47f01e0f72621d3fb8acf8beede8c0304393b147887e6f75597b8f14ff984f380c
+DIST kde-cli-tools-5.24.2.tar.xz 632432 BLAKE2B 60105282e94d7d3ff7b242e71f3621864ffe60abd2062e437429f1b5de075875c45453907daa8c04cf706da0d11b87c33c8f99fcf1227c764fd4823797f1a617 SHA512 00770aa49d62cec2a3cce364ecd0bc527fec08d8eb6eee8fd4a03306c58160ede41526d90578570658c7747b92e3f8be3857e2439189fe02f21f8fe43c1bd604
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.24.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.24.2.ebuild
new file mode 100644
index 000000000000..01626b69fa9a
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.24.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.90.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm 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 ~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/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${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] )
+"
+
+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
+}