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