diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-13 13:38:17 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-13 13:50:46 +0200 |
commit | 8636cfc6ea13ef070a7272c996b744391a774c51 (patch) | |
tree | 1bee3114a5bfbdac136311ce3d2b5faa126a427c /kde-plasma/kde-cli-tools | |
parent | kde-plasma/kactivitymanagerd: 5.20.0 version bump (diff) | |
download | gentoo-8636cfc6ea13ef070a7272c996b744391a774c51.tar.gz gentoo-8636cfc6ea13ef070a7272c996b744391a774c51.tar.bz2 gentoo-8636cfc6ea13ef070a7272c996b744391a774c51.zip |
kde-plasma/kde-cli-tools: 5.20.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-5.20.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 85b69a5d51b1..bcc0489e830c 100644 --- a/kde-plasma/kde-cli-tools/Manifest +++ b/kde-plasma/kde-cli-tools/Manifest @@ -1 +1,2 @@ DIST kde-cli-tools-5.19.5.tar.xz 600580 BLAKE2B bfe77d7d5d9528b3b7d089341afa1cf48bd05d2b82c596a85eddaa197ec9ddce4c83f223e6698979b10e764f4468b3a5bfc94777400d8aa927227cbd0508c975 SHA512 9e8de408643caad7c0de52cd348c35678c92b478587a2e7fd6b0cfd1d93dd578d9060c58b1dacf4b0143840d61860b51f41b53b7c2349112b855c9bad3c9b897 +DIST kde-cli-tools-5.20.0.tar.xz 597152 BLAKE2B de3544cab238a53bba98e500ca8194b1b0ddd81ce01b8a3ad771564bdb3ff6079f635957ab13cf7d92fb29e64ef1b181d59e64db3950cc339952228ff8191db4 SHA512 f3637edb92cf955e255d31bd857633716ac6072f2a2e0c95f070a2e91c83c624f1ea14e156c5b390dde48a4795bdafe412454b1c2dfeedd643cb8c91e2f23fd1 diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.20.0.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.20.0.ebuild new file mode 100644 index 000000000000..8f483a252e8e --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.20.0.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.74.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.1 +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 )" + +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 +} |