summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-27 19:36:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-27 19:44:03 +0100
commitbce22ce7e31335f2d5db9a4d3b36e868b19063f4 (patch)
tree6c7ee6290dac6ecb555064d5a3cb7ec9713db19b /kde-plasma/kde-cli-tools
parentdev-python/watchdog: Remove old (diff)
downloadgentoo-bce22ce7e31335f2d5db9a4d3b36e868b19063f4.tar.gz
gentoo-bce22ce7e31335f2d5db9a4d3b36e868b19063f4.tar.bz2
gentoo-bce22ce7e31335f2d5db9a4d3b36e868b19063f4.zip
kde-plasma/kde-cli-tools: Unrequire Qt6/KF6 modules
Closes: https://bugs.gentoo.org/945119 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kde-cli-tools')
-rw-r--r--kde-plasma/kde-cli-tools/files/kde-cli-tools-6.2.4-unrequire-kf-qt-modules.patch35
-rw-r--r--kde-plasma/kde-cli-tools/kde-cli-tools-6.2.4.ebuild3
2 files changed, 38 insertions, 0 deletions
diff --git a/kde-plasma/kde-cli-tools/files/kde-cli-tools-6.2.4-unrequire-kf-qt-modules.patch b/kde-plasma/kde-cli-tools/files/kde-cli-tools-6.2.4-unrequire-kf-qt-modules.patch
new file mode 100644
index 000000000000..e7bb7cfd9d3e
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/files/kde-cli-tools-6.2.4-unrequire-kf-qt-modules.patch
@@ -0,0 +1,35 @@
+From aca455335ebcbc8818aacb75ffb7ef026ccc82e4 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 2 Sep 2024 23:18:46 +0200
+Subject: [PATCH] Make all KF6 and Qt6 modules optional
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f1092bf8..4667f06d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,7 +28,7 @@ include(ECMDeprecationSettings)
+
+ include(KDEGitCommitHooks)
+
+-find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
++find_package(Qt6 ${QT_MIN_VERSION} CONFIG COMPONENTS
+ Widgets
+ Svg
+ DBus
+@@ -44,7 +44,7 @@ if (NOT Qt6Test_FOUND)
+ set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
+ endif()
+
+-find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
++find_package(KF6 ${KF6_MIN_VERSION} COMPONENTS
+ Config
+ DocTools
+ IconThemes
+--
+2.46.0
+
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-6.2.4.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-6.2.4.ebuild
index 727f3af926c0..ad812ce0d5a8 100644
--- a/kde-plasma/kde-cli-tools/kde-cli-tools-6.2.4.ebuild
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-6.2.4.ebuild
@@ -33,6 +33,9 @@ RDEPEND="${DEPEND}
"
BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
+# downstream split
+PATCHES=( "${FILESDIR}/${P}-unrequire-kf-qt-modules.patch" )
+
src_prepare() {
ecm_src_prepare
ecm_punt_po_install