diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-08 20:14:53 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-11 14:39:47 +0200 |
commit | f68019d0213b260d6045adaac613a3e3f47dae79 (patch) | |
tree | 978f89998226ab3eac51e50977ac32145cc3aed6 /kde-plasma/kde-cli-tools | |
parent | kde-plasma/kactivitymanagerd: add 5.26.0 (diff) | |
download | gentoo-f68019d0213b260d6045adaac613a3e3f47dae79.tar.gz gentoo-f68019d0213b260d6045adaac613a3e3f47dae79.tar.bz2 gentoo-f68019d0213b260d6045adaac613a3e3f47dae79.zip |
kde-plasma/kde-cli-tools: add 5.26.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kde-cli-tools')
-rw-r--r-- | kde-plasma/kde-cli-tools/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kde-cli-tools/kde-cli-tools-5.26.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest index 6fc5f11e553a..7903b5c6dcd4 100644 --- a/kde-plasma/kde-cli-tools/Manifest +++ b/kde-plasma/kde-cli-tools/Manifest @@ -1 +1,2 @@ DIST kde-cli-tools-5.25.5.tar.xz 635412 BLAKE2B 677c5a157dea5499acd47253f51ffd8e2638bb3684fec425966ed620ac26dcd784173feca914d27e61a431347dfc02b25cd5ebff1e2bad134b122dee79abf5ed SHA512 9776131b481a100d3a9e2cfd97184d4136d6d5db3c1b8fb25e35d497b57fa8e6b0756dadb1929e9adb07f7b15bafa3f0c699a7b2e6754735a5130073d8ef5a29 +DIST kde-cli-tools-5.26.0.tar.xz 630316 BLAKE2B ed1415de5f2f839860573df09763aa671ec50bfa74e7848ee6252260c8cba95dd4cce0ab3fd916bebf88079dd492d67f9b183c624035f2c453a516b5943f2b5a SHA512 92970b3b254e6489d99f0f1c0d4718fb17cf4973b9ab21848d666511431db1c5d54a0d9763e75e68518e741ece62cfd4192c211ca3736a553d43bfaf2d0b692f diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.26.0.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.26.0.ebuild new file mode 100644 index 000000000000..ecdae5c5be69 --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.26.0.ebuild @@ -0,0 +1,70 @@ +# 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.99.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.5 +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" +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 +} |