From a2cfd5c4a66c1e05a63a410cce1bbce6745bb518 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 24 Apr 2021 12:05:08 +0200 Subject: 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 --- .../filelight-21.04.0-kdoctools_install.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch (limited to 'kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch') 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 +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 +--- + 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 + -- cgit v1.2.3