public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: kde-apps/audiocd-kio/files/, kde-apps/audiocd-kio/
@ 2019-04-21 11:18 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2019-04-21 11:18 UTC (permalink / raw
  To: gentoo-commits

commit:     fb9637ca678bf9efc7ac7453464e6cb7cfa6d364
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 11:02:12 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 11:04:35 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=fb9637ca

kde-apps/audiocd-kio: Fix cmake configure with USE -handbook

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../audiocd-kio/audiocd-kio-19.04.49.9999.ebuild   |  2 ++
 kde-apps/audiocd-kio/audiocd-kio-9999.ebuild       |  2 ++
 .../files/audiocd-kio-19.04.0-handbook.patch       | 24 ++++++++++++++++++++++
 3 files changed, 28 insertions(+)

diff --git a/kde-apps/audiocd-kio/audiocd-kio-19.04.49.9999.ebuild b/kde-apps/audiocd-kio/audiocd-kio-19.04.49.9999.ebuild
index d62579e45d..8fc361f8b8 100644
--- a/kde-apps/audiocd-kio/audiocd-kio-19.04.49.9999.ebuild
+++ b/kde-apps/audiocd-kio/audiocd-kio-19.04.49.9999.ebuild
@@ -31,6 +31,8 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${PN}-19.04.0-handbook.patch" )
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package flac FLAC)

diff --git a/kde-apps/audiocd-kio/audiocd-kio-9999.ebuild b/kde-apps/audiocd-kio/audiocd-kio-9999.ebuild
index d62579e45d..8fc361f8b8 100644
--- a/kde-apps/audiocd-kio/audiocd-kio-9999.ebuild
+++ b/kde-apps/audiocd-kio/audiocd-kio-9999.ebuild
@@ -31,6 +31,8 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${PN}-19.04.0-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 0000000000..f89e4e6d66
--- /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
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-21 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-21 11:18 [gentoo-commits] proj/kde:master commit in: kde-apps/audiocd-kio/files/, kde-apps/audiocd-kio/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox