diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-04-20 23:23:23 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-04-21 13:30:57 +0200 |
commit | 432c86ff5bc167639785ed872da0024be92d6334 (patch) | |
tree | e72b0fe90780131a0cd15e5e4bce90b599288b49 /kde-apps | |
parent | profiles: arm: Drop elogind use.stable.mask (diff) | |
download | gentoo-432c86ff5bc167639785ed872da0024be92d6334.tar.gz gentoo-432c86ff5bc167639785ed872da0024be92d6334.tar.bz2 gentoo-432c86ff5bc167639785ed872da0024be92d6334.zip |
kde-apps/audiocd-kio: Fix cmake configure with USE -handbook
Closes: https://bugs.gentoo.org/683800
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/audiocd-kio/audiocd-kio-19.04.0.ebuild | 2 | ||||
-rw-r--r-- | kde-apps/audiocd-kio/files/audiocd-kio-19.04.0-handbook.patch | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/kde-apps/audiocd-kio/audiocd-kio-19.04.0.ebuild b/kde-apps/audiocd-kio/audiocd-kio-19.04.0.ebuild index c5c8f55a0b5e..c0052d7657f6 100644 --- a/kde-apps/audiocd-kio/audiocd-kio-19.04.0.ebuild +++ b/kde-apps/audiocd-kio/audiocd-kio-19.04.0.ebuild @@ -31,6 +31,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-handbook.patch" ) + src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package flac FLAC) 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 new file mode 100644 index 000000000000..f89e4e6d663e --- /dev/null +++ b/kde-apps/audiocd-kio/files/audiocd-kio-19.04.0-handbook.patch @@ -0,0 +1,24 @@ +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 + |