summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-24 12:05:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-24 15:46:38 +0200
commita2cfd5c4a66c1e05a63a410cce1bbce6745bb518 (patch)
tree52dd15831c22357d02ba958c6b73425d3ad7774e /kde-apps/filelight/files
parentkde-apps/ark: 21.04.0 version bump (diff)
downloadgentoo-a2cfd5c4a66c1e05a63a410cce1bbce6745bb518.tar.gz
gentoo-a2cfd5c4a66c1e05a63a410cce1bbce6745bb518.tar.bz2
gentoo-a2cfd5c4a66c1e05a63a410cce1bbce6745bb518.zip
kde-apps/filelight: 21.04.0 version bump
Fix build with IUSE=-handbook Reported-by: ivanich (#gentoo-kde in IRC) Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/filelight/files')
-rw-r--r--kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch b/kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch
new file mode 100644
index 000000000000..e9d4c6444f65
--- /dev/null
+++ b/kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch
@@ -0,0 +1,28 @@
+From 0db4a8c6b941800d0616e726ebf3f2e751f2293d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 24 Apr 2021 11:34:46 +0200
+Subject: [PATCH] Hide kdoctools_install() behind KF5DocTools_FOUND conditional
+
+The dependency is optional in this package so the macro call must be too.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b8c5c73..72e80dc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -56,5 +56,7 @@ if (KF5DocTools_FOUND)
+ endif()
+
+ ki18n_install(po)
+-kdoctools_install(po)
++if (KF5DocTools_FOUND)
++ kdoctools_install(po)
++endif()
+ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
+--
+2.31.1
+