kde-plasma/kdesu-gui: Fix missing upstream build system dep

Pending upstream MR:
https://invent.kde.org/plasma/kde-cli-tools/-/merge_requests/110

Closes: https://bugs.gentoo.org/939081
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2024-09-05 14:36:07 +02:00
parent b83b83cc97
commit 4219fa7ac8
3 changed files with 33 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
From 34f66c29cf7186b860266582b198a5b6869c7fa3 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Thu, 5 Sep 2024 14:31:44 +0200
Subject: [PATCH] Add missing KF6WidgetsAddons, used by kdesu
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc435bca..ee962482 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,6 +57,7 @@ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
OPTIONAL_COMPONENTS
Su
+ WidgetsAddons
QUIET
)
--
2.46.0

View File

@@ -33,7 +33,10 @@ RDEPEND="${DEPEND}
sys-apps/dbus[X]
"
PATCHES=( "${FILESDIR}/${P}-build-only-kdesu.patch" )
PATCHES=(
"${FILESDIR}/${P}-build-only-kdesu.patch" # downstream split
"${FILESDIR}/${P}-cmake.patch" # bug 939081, pending upstream MR
)
src_prepare() {
ecm_src_prepare

View File

@@ -33,7 +33,10 @@ RDEPEND="${DEPEND}
sys-apps/dbus[X]
"
PATCHES=( "${FILESDIR}/${PN}-6.1.5-build-only-kdesu.patch" )
PATCHES=(
"${FILESDIR}/${PN}-6.1.5-build-only-kdesu.patch" # downstream split
"${FILESDIR}/${PN}-5.27.11-cmake.patch" # bug 939081, pending upstream MR
)
src_prepare() {
ecm_src_prepare