mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
kde-apps/audiocd-kio: Use upstreamed patch for KF6 handbook fix
Upstream commit 7e6c8e08c919216b8d456a8c2fb0b4c9484f5d4c Thanks-to: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/kde/pull/1071 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -37,7 +37,7 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-19.04.0-handbook.patch" )
|
||||
PATCHES=( "${FILESDIR}/${PN}-25.08.1-handbook.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
@@ -37,7 +37,7 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-19.04.0-handbook.patch" )
|
||||
PATCHES=( "${FILESDIR}/${PN}-25.08.1-handbook.patch" ) # in git master
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
@@ -1,24 +0,0 @@
|
||||
From 205f9336485b161bedb0f4fc4292247040166111 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
||||
Date: Sat, 20 Apr 2019 23:18:17 +0200
|
||||
Subject: [PATCH] Add kcmaudiocd doc subdir only if KF5DocTools_FOUND
|
||||
|
||||
---
|
||||
kcmaudiocd/CMakeLists.txt | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kcmaudiocd/CMakeLists.txt b/kcmaudiocd/CMakeLists.txt
|
||||
index 2e0ce60..7b94b46 100644
|
||||
--- a/kcmaudiocd/CMakeLists.txt
|
||||
+++ b/kcmaudiocd/CMakeLists.txt
|
||||
@@ -26,4 +26,6 @@ install(FILES audiocd.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||||
|
||||
########### add handbook ################
|
||||
|
||||
-add_subdirectory(doc)
|
||||
+if(KF5DocTools_FOUND)
|
||||
+ add_subdirectory(doc)
|
||||
+endif()
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From 7e6c8e08c919216b8d456a8c2fb0b4c9484f5d4c Mon Sep 17 00:00:00 2001
|
||||
From: Matthieu Carteron <rubisetcie@gmail.com>
|
||||
Date: Fri, 13 Jun 2025 20:14:15 +0200
|
||||
Subject: [PATCH] Fixed building when DocTools is disabled.
|
||||
|
||||
---
|
||||
kcmaudiocd/CMakeLists.txt | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kcmaudiocd/CMakeLists.txt b/kcmaudiocd/CMakeLists.txt
|
||||
index e7e5e781..c87a469f 100644
|
||||
--- a/kcmaudiocd/CMakeLists.txt
|
||||
+++ b/kcmaudiocd/CMakeLists.txt
|
||||
@@ -22,4 +22,6 @@ target_link_libraries(kcm_audiocd
|
||||
|
||||
########### add handbook ################
|
||||
|
||||
-add_subdirectory(doc)
|
||||
+if(KF6DocTools_FOUND)
|
||||
+ add_subdirectory(doc)
|
||||
+endif()
|
||||
--
|
||||
GitLab
|
||||
|
||||
Reference in New Issue
Block a user