commit: 5ffc52eb5d798a0fce8647f8b87e0459148849c2
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 9 15:37:44 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 9 16:06:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffc52eb
app-editors/kile: Patch to make KF5DocTools really optional
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-editors/kile/files/kile-2.9.92-kf5doctools.patch | 13 +++++++++++++
app-editors/kile/kile-2.9.92-r1.ebuild | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/app-editors/kile/files/kile-2.9.92-kf5doctools.patch
b/app-editors/kile/files/kile-2.9.92-kf5doctools.patch
new file mode 100644
index 00000000000..2f5a70e815a
--- /dev/null
+++ b/app-editors/kile/files/kile-2.9.92-kf5doctools.patch
@@ -0,0 +1,13 @@
+--- a/CMakeLists.txt 2018-05-11 20:12:37.000000000 +0200
++++ b/CMakeLists.txt 2019-02-09 16:33:18.953280283 +0100
+@@ -125,7 +125,7 @@
+ DESTINATION ${KDE_INSTALL_DATAROOTDIR}/doc/kile)
+
+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
+-find_package(KF5I18n CONFIG REQUIRED)
+ ki18n_install(po)
+-find_package(KF5DocTools CONFIG REQUIRED)
+-kdoctools_install(po)
++if(KF5DocTools_FOUND)
++ kdoctools_install(po)
++endif()
diff --git a/app-editors/kile/kile-2.9.92-r1.ebuild
b/app-editors/kile/kile-2.9.92-r1.ebuild
index 97b4fd675bf..7851f51335c 100644
--- a/app-editors/kile/kile-2.9.92-r1.ebuild
+++ b/app-editors/kile/kile-2.9.92-r1.ebuild
@@ -19,7 +19,6 @@ DEPEND="
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep kdoctools)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep khtml)
$(add_frameworks_dep ki18n)
@@ -57,6 +56,7 @@ DOCS=( AUTHORS ChangeLog kile-remote-control.txt README
README.cwl )
PATCHES=(
"${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-kf5doctools.patch"
"${FILESDIR}/${P}-desktopfile.patch"
"${FILESDIR}/${P}-no-empty-filename.patch"
"${FILESDIR}/${P}-viewtab-crash.patch"