1 |
commit: 0024cb83636e1497558eb3a47616405092191865 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 19 23:27:46 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 21 10:45:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0024cb83 |
7 |
|
8 |
kde-frameworks/kdoctools: Add USE nls |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
kde-frameworks/kdoctools/kdoctools-5.52.0.ebuild | 11 ++++++++++- |
14 |
1 file changed, 10 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/kde-frameworks/kdoctools/kdoctools-5.52.0.ebuild b/kde-frameworks/kdoctools/kdoctools-5.52.0.ebuild |
17 |
index c306724f6ff..6c8ee3c3629 100644 |
18 |
--- a/kde-frameworks/kdoctools/kdoctools-5.52.0.ebuild |
19 |
+++ b/kde-frameworks/kdoctools/kdoctools-5.52.0.ebuild |
20 |
@@ -9,7 +9,7 @@ inherit kde5 |
21 |
DESCRIPTION="Tools to generate documentation in various formats from DocBook files" |
22 |
LICENSE="MIT" |
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
24 |
-IUSE="" |
25 |
+IUSE="nls" |
26 |
|
27 |
RDEPEND=" |
28 |
$(add_frameworks_dep karchive) |
29 |
@@ -22,8 +22,17 @@ RDEPEND=" |
30 |
DEPEND="${RDEPEND} |
31 |
dev-lang/perl |
32 |
dev-perl/URI |
33 |
+ nls? ( $(add_frameworks_dep ki18n) ) |
34 |
" |
35 |
|
36 |
+src_configure() { |
37 |
+ local mycmakeargs=( |
38 |
+ $(cmake-utils_use_find_package nls KF5I18n) |
39 |
+ ) |
40 |
+ |
41 |
+ kde5_src_configure |
42 |
+} |
43 |
+ |
44 |
src_test() { |
45 |
# bug 665622 |
46 |
local myctestargs=( |