diff options
-rw-r--r-- | kde-plasma/kde-cli-tools/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kde-cli-tools/kde-cli-tools-5.22.3.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/Manifest b/kde-plasma/kde-cli-tools/Manifest index 942538ad20e6..cff55647fe80 100644 --- a/kde-plasma/kde-cli-tools/Manifest +++ b/kde-plasma/kde-cli-tools/Manifest @@ -1,2 +1,3 @@ DIST kde-cli-tools-5.21.5.tar.xz 610864 BLAKE2B 5f4fbbc100d8f7baec9353f9540dafe9427cf0b01736f055aaecfed48b3e31e1fa2d0a70b90cc99f30d3df33e1bbade888781b1e2ce95e925d871ae44a9b33bd SHA512 20859f88044c6af84ba4b666b803a6a3a4fbe33748495d9c186fc0739e7b5464b234166cef4d03f0dd44540919eca4f3ea8a1f5ac7b54d480cc9dadeaa0ec3fc DIST kde-cli-tools-5.22.2.tar.xz 626464 BLAKE2B 79fa6889423817202dd8bc800563fcaa56c4d7641871230ee07169c6b3a48fd90fc886b9a53b7de40c236474da237c8efbad8478920551c8c1a798b939985648 SHA512 70bfb72c8393e4c339acaaee5027b47c119113221271970fb699c261acf802b3748c2e19e10ffa5da6a541e10119aaa36fe7c07753bdb3021aa677a2b71a8137 +DIST kde-cli-tools-5.22.3.tar.xz 626516 BLAKE2B 2aca4302d6558503be30a0716c52ce1c1aab5bd662e399b7ac23159f53d7d6147cc2ef9f080eeaab84a4391023dd2bf2d7666e834fb273f159f4371ecc1e9bc3 SHA512 c3db0082fbe55323d30cb434827028b6d82138254e99ee5a2e00ee3a808be3de5ccaa3fda4f16d96d14f0d200951a7ab14bad21ade66ebefb76fa4c369063592 diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.22.3.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.22.3.ebuild new file mode 100644 index 000000000000..7ad4920020ea --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.22.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="optional" +KFMIN=5.82.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 ~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 +} |