commit: 4389abbcde587f58b81ae5e881888e7deb19284c Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Oct 2 20:27:17 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Oct 2 20:33:11 2025 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4389abbc
kde-apps/audiocd-kio: Use upstreamed patch for KF6 handbook fix Upstream commit 7e6c8e08c919216b8d456a8c2fb0b4c9484f5d4c Thanks-to: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/kde/pull/1071 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../audiocd-kio/audiocd-kio-25.08.49.9999.ebuild | 2 +- .../files/audiocd-kio-19.04.0-handbook.patch | 24 ---------------------- .../files/audiocd-kio-25.08.1-handbook.patch | 24 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/kde-apps/audiocd-kio/audiocd-kio-25.08.49.9999.ebuild b/kde-apps/audiocd-kio/audiocd-kio-25.08.49.9999.ebuild index 845da16a49..7ff0588fa9 100644 --- a/kde-apps/audiocd-kio/audiocd-kio-25.08.49.9999.ebuild +++ b/kde-apps/audiocd-kio/audiocd-kio-25.08.49.9999.ebuild @@ -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=( diff --git a/kde-apps/audiocd-kio/files/audiocd-kio-19.04.0-handbook.patch b/kde-apps/audiocd-kio/files/audiocd-kio-19.04.0-handbook.patch deleted file mode 100644 index f89e4e6d66..0000000000 --- a/kde-apps/audiocd-kio/files/audiocd-kio-19.04.0-handbook.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 205f9336485b161bedb0f4fc4292247040166111 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <[email protected]> -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 - diff --git a/kde-apps/audiocd-kio/files/audiocd-kio-25.08.1-handbook.patch b/kde-apps/audiocd-kio/files/audiocd-kio-25.08.1-handbook.patch new file mode 100644 index 0000000000..3035a86478 --- /dev/null +++ b/kde-apps/audiocd-kio/files/audiocd-kio-25.08.1-handbook.patch @@ -0,0 +1,24 @@ +From 7e6c8e08c919216b8d456a8c2fb0b4c9484f5d4c Mon Sep 17 00:00:00 2001 +From: Matthieu Carteron <[email protected]> +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 +
