diff options
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.19.2.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 420cc37537cd..c82b6aa162c8 100644 --- a/kde-plasma/kde-cli-tools/Manifest +++ b/kde-plasma/kde-cli-tools/Manifest @@ -1,2 +1,3 @@ DIST kde-cli-tools-5.18.5.tar.xz 592020 BLAKE2B 6a35db9d2e68d6ceeaad72553e5d295e54d053b624b1803080dc123451b804250ca0881d6c70b626dddb75ae48b6db398cec5b9c48a25cdd87d18e03873ff612 SHA512 c73695a1ecb81b9222e213f0e98c37354560e32dc56fe8e5ebe1665f7f86a88326bd7a32f4b66d2a73826c9d684f5410306ef5e6660751601c77eae0c6f16d4c DIST kde-cli-tools-5.19.1.tar.xz 600900 BLAKE2B 064a68254eed37f53a25e936a1bc01cd34291bb156e5f1def7d3d3d7e6bcc489a50d362625a11d468f18f43b43bf326ed89803709b66d4cb52566e2ba8e88e71 SHA512 a28bfe014622d8b94690c12e3ffddef9a5781a43253b5a58080184b1a14a26dc7ea66cab387e46fe99b55f3881e9196e3aac6cbe608b00230de3f7c80f2caf07 +DIST kde-cli-tools-5.19.2.tar.xz 600468 BLAKE2B 3147a40482492a376947764c1daee8332c2b1b5b80024f6ebcc866add05e9042a46a587e0182eac1c404dcc7529b3cd5bbddc6d1becbde9911ec2d6ca85375c2 SHA512 02079cb198ae39eb09e8928f6f93f562cd0200773189678937abcab2403b55ad66d51628151db211bc976751cc8a5dd1da5b6eab4bdff8d1f927b4f8ea1763fe diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.19.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.19.2.ebuild new file mode 100644 index 000000000000..3636812a588c --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.19.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="optional" +KFMIN=5.71.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.14.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 ~arm64 ~ppc64 ~x86" +IUSE="kdesu X" + +REQUIRED_USE="kdesu? ( X )" + +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" ) + +# requires running kde environment +RESTRICT+=" test" + +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 +} |