diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-19 16:49:57 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-19 17:23:18 +0200 |
commit | 647763b9356d2aa643e8279e6b9c44cd4b2dbe19 (patch) | |
tree | 6230b3486d15e0f883148937a0458154dc4d5645 /kde-plasma/libksysguard | |
parent | kde-plasma/bluedevil: drop 5.27.8 (diff) | |
download | gentoo-647763b9356d2aa643e8279e6b9c44cd4b2dbe19.tar.gz gentoo-647763b9356d2aa643e8279e6b9c44cd4b2dbe19.tar.bz2 gentoo-647763b9356d2aa643e8279e6b9c44cd4b2dbe19.zip |
kde-plasma/libksysguard: Drop unused dependency
Closes: https://bugs.gentoo.org/914145
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/libksysguard')
-rw-r--r-- | kde-plasma/libksysguard/files/libksysguard-5.27.8-cmake.patch | 40 | ||||
-rw-r--r-- | kde-plasma/libksysguard/libksysguard-5.27.8-r1.ebuild | 78 |
2 files changed, 118 insertions, 0 deletions
diff --git a/kde-plasma/libksysguard/files/libksysguard-5.27.8-cmake.patch b/kde-plasma/libksysguard/files/libksysguard-5.27.8-cmake.patch new file mode 100644 index 000000000000..45564b7acfdb --- /dev/null +++ b/kde-plasma/libksysguard/files/libksysguard-5.27.8-cmake.patch @@ -0,0 +1,40 @@ +From 4ea3547f3fb2d1d73b3c4e1c78cdc3902341b652 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sat, 16 Sep 2023 17:53:34 +0200 +Subject: [PATCH] Drop unused KCompletion + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +(cherry picked from commit 0d5d7f70771fb6caf6fc84a840a708df4e980493) +--- + CMakeLists.txt | 2 +- + processui/CMakeLists.txt | 1 - + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d5a0ca48..67b8242d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -48,7 +48,7 @@ set_package_properties(Qt${QT_MAJOR_VERSION}WebChannel PROPERTIES + ) + + +-find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS CoreAddons Config I18n JobWidgets WindowSystem Completion Auth WidgetsAddons IconThemes ConfigWidgets Service GlobalAccel KIO Package NewStuff) ++find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS CoreAddons Config I18n JobWidgets WindowSystem Auth WidgetsAddons IconThemes ConfigWidgets Service GlobalAccel KIO Package NewStuff) + + find_package(ZLIB REQUIRED) + set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams" +diff --git a/processui/CMakeLists.txt b/processui/CMakeLists.txt +index c9bd8007..e61bd784 100644 +--- a/processui/CMakeLists.txt ++++ b/processui/CMakeLists.txt +@@ -45,7 +45,6 @@ target_link_libraries(processui + KF5::I18n + KF5::WindowSystem + KF5::AuthCore +- KF5::Completion + KF5::ConfigWidgets + KF5::WidgetsAddons + KF5::IconThemes +-- +2.42.0 + diff --git a/kde-plasma/libksysguard/libksysguard-5.27.8-r1.ebuild b/kde-plasma/libksysguard/libksysguard-5.27.8-r1.ebuild new file mode 100644 index 000000000000..c98e4b5e741d --- /dev/null +++ b/kde-plasma/libksysguard/libksysguard-5.27.8-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_DESIGNERPLUGIN="true" +ECM_TEST="true" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm plasma.kde.org + +DESCRIPTION="Task management and system monitoring library" + +LICENSE="LGPL-2+" +SLOT="5/9" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="webengine" + +# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras +RDEPEND=" + dev-libs/libnl:3 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5[qml] + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/kpackage-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5[X] + >=kde-frameworks/solid-${KFMIN}:5 + net-libs/libpcap + sys-apps/lm-sensors:= + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXres + webengine? ( + >=dev-qt/qtwebchannel-${QTMIN}:5 + >=dev-qt/qtwebengine-${QTMIN}:5 + ) +" +DEPEND="${RDEPEND} + >=kde-frameworks/kiconthemes-${KFMIN}:5 + x11-base/xorg-proto +" +BDEPEND="sys-libs/libcap" + +PATCHES=( + "${FILESDIR}/${PN}-5.22.80-no-detailed-mem-message.patch" # downstream patch + "${FILESDIR}/${P}-cmake.patch" # bug 914145 +) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package webengine Qt5WebChannel) + $(cmake_use_find_package webengine Qt5WebEngineWidgets) + ) + + ecm_src_configure +} + +src_test() { + # bugs 797898, 889942: flaky test + local myctestargs=( + -E "(sensortreemodeltest)" + ) + LC_NUMERIC="C" ecm_src_test # bug 695514 +} |