diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 12:43:40 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 14:52:25 +0100 |
commit | bab0724861b551dc2f8e4069e00cb47b181e69f0 (patch) | |
tree | 9a87cff3c464db8e292cb2d603c9cfcc66cfdc5d /kde-plasma/kde-cli-tools | |
parent | kde-plasma/kactivitymanagerd: 6.0.0 version bump (diff) | |
download | gentoo-bab0724861b551dc2f8e4069e00cb47b181e69f0.tar.gz gentoo-bab0724861b551dc2f8e4069e00cb47b181e69f0.tar.bz2 gentoo-bab0724861b551dc2f8e4069e00cb47b181e69f0.zip |
kde-plasma/kde-cli-tools: 6.0.0 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/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kde-cli-tools/kde-cli-tools-6.0.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest index e40605d50500..2c7ce03f2e2b 100644 --- a/kde-plasma/kde-cli-tools/Manifest +++ b/kde-plasma/kde-cli-tools/Manifest @@ -1,2 +1,3 @@ DIST kde-cli-tools-5.27.10.tar.xz 667316 BLAKE2B 7e9cc1f4097b2286c53ce3efc412650b0611411d1d16ee13e0cf5f0447573c78a4e1676ad2a59dce84dbc5f5aee11a3b0b9878e75718efa3caf89215db66e0e4 SHA512 b8179525d15101568b879ace024f68005aef34b2ab6fe70a1237712b3ace5d3d6442c2090f3bcda2b29ad4ad1cc20a0ded96b23b55bd8e76546d513f4d6ca496 DIST kde-cli-tools-5.93.0.tar.xz 625852 BLAKE2B e186ba3de1a66b5efa1bf3bb446bd99f530b5c909be328cb676fb6d798665e9a582c45641dd2c2ed990d8bbe2d247dfc539b4efd83d7ee48b02462722fd1a547 SHA512 1838f6015f82378499dd673e4f54947d447f5c0f7abf4688da7b7f70a716a7c78e0b9f6e486622437f0911602c474044fd2ec82ae3fcb8a1a987c8bf9de7fe8c +DIST kde-cli-tools-6.0.0.tar.xz 626504 BLAKE2B f0a54a2bf6e4c9c5e22434c177bdd8d3f0fc63b43b6af605d9e2f84e336f906eaf2c72f34e6f864dfe6073e2eed16db44c94a5ceac5680389ad7c1adbf028527 SHA512 d2842ffaa58e18a94b65bdc5750841362e6982c3d072c0a91386ba6613497be245fdfec5639d9a318a1faeb59fe2de1908d25eeaac746f329398f0e8c7dd2c03 diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-6.0.0.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-6.0.0.ebuild new file mode 100644 index 000000000000..74d456b0b258 --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-6.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="optional" +KFMIN=6.0 +PVCUT=$(ver_cut 1-3) +QTMIN=6.6.2 +inherit ecm plasma.kde.org + +DESCRIPTION="Tools based on KDE Frameworks 6 to better interact with the system" +HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64" +IUSE="kdesu X" + +REQUIRED_USE="kdesu? ( X )" +# requires running kde environment +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets] + >=dev-qt/qtsvg-${QTMIN}:6 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kparts-${KFMIN}:6 + >=kde-frameworks/kservice-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6[X?] + kdesu? ( >=kde-frameworks/kdesu-${KFMIN}:6 ) +" +RDEPEND="${DEPEND} + kdesu? ( sys-apps/dbus[X] ) +" +BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6" + +PATCHES=( "${FILESDIR}/${PN}-5.12.80-tests-optional.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package kdesu KF6Su) + -DWITH_X11=$(usex X) + ) + + ecm_src_configure +} + +src_install() { + ecm_src_install + use kdesu && dosym ../$(get_libdir)/libexec/kf6/kdesu /usr/bin/kdesu +} |