summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-09-05 14:36:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-09-05 14:38:22 +0200
commit4219fa7ac8beafbf1b91aa1997dfd05140d1258e (patch)
treef4eee626d976622643b24ef9f0deb0d52a62100a /kde-plasma/kdesu-gui
parentdev-util/pahole: Keyword 1.27-r1 alpha, #939111 (diff)
downloadgentoo-4219fa7ac8beafbf1b91aa1997dfd05140d1258e.tar.gz
gentoo-4219fa7ac8beafbf1b91aa1997dfd05140d1258e.tar.bz2
gentoo-4219fa7ac8beafbf1b91aa1997dfd05140d1258e.zip
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>
Diffstat (limited to 'kde-plasma/kdesu-gui')
-rw-r--r--kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-cmake.patch25
-rw-r--r--kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild5
-rw-r--r--kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild5
3 files changed, 33 insertions, 2 deletions
diff --git a/kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-cmake.patch b/kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-cmake.patch
new file mode 100644
index 000000000000..80a46012e24b
--- /dev/null
+++ b/kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-cmake.patch
@@ -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
+
diff --git a/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild b/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild
index cf92644003ea..d4000b561d01 100644
--- a/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild
+++ b/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild
@@ -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
diff --git a/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild b/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild
index c4ba0b2f76d2..99081e35a177 100644
--- a/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild
+++ b/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild
@@ -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