diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-25 15:52:30 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-25 16:52:15 +0200 |
commit | 8d1d62c64b66bfce3107bc20b3cedf8e189bac82 (patch) | |
tree | 87be3b570a957c50e3f8972c0e2ec6fda11ccfc3 /kde-plasma/kde-cli-tools/kde-cli-tools-5.16.2.ebuild | |
parent | net-misc/smb4k: Drop 3.0.0-r1 (diff) | |
download | gentoo-8d1d62c64b66bfce3107bc20b3cedf8e189bac82.tar.gz gentoo-8d1d62c64b66bfce3107bc20b3cedf8e189bac82.tar.bz2 gentoo-8d1d62c64b66bfce3107bc20b3cedf8e189bac82.zip |
kde-plasma: Add KDE Plasma 5.16.2
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kde-cli-tools/kde-cli-tools-5.16.2.ebuild')
-rw-r--r-- | kde-plasma/kde-cli-tools/kde-cli-tools-5.16.2.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-5.16.2.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-5.16.2.ebuild new file mode 100644 index 000000000000..fe466b4b22c8 --- /dev/null +++ b/kde-plasma/kde-cli-tools/kde-cli-tools-5.16.2.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 +} |