diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-22 11:40:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-22 11:40:06 +0100 |
commit | 7a86906b67693cc65671d3e1476835d3a7e13092 (patch) | |
tree | 9de1b9e2cf77833183d4e5ffab2e94d0403ef725 /kde-plasma/kde-cli-tools | |
parent | d56d144655e3785864da43c9acb6c228ef9360ae (diff) |
gentoo resync : 22.06.2019
Diffstat (limited to 'kde-plasma/kde-cli-tools')
-rw-r--r-- | kde-plasma/kde-cli-tools/kde-cli-tools-5.16.1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.16.1.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.16.1.ebuild new file mode 100644 index 000000000000..fe466b4b22c8 --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.16.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="optional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the system" +HOMEPAGE="https://cgit.kde.org/kde-cli-tools.git" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="kdesu X" + +REQUIRED_USE="kdesu? ( X )" + +DEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_plasma_dep libkworkspace) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + kdesu? ( $(add_frameworks_dep kdesu) ) + X? ( + $(add_qt_dep qtx11extras) + 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-utils_use_find_package kdesu KF5Su) + $(cmake-utils_use_find_package X Qt5X11Extras) + ) + + kde5_src_configure +} + +src_install() { + kde5_src_install + use kdesu && dosym ../$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu +} |