1 |
commit: 87164ee1dd2aaa6ef64caa9de00f0de1865e2b14 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 12 14:35:08 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 12 14:38:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87164ee1 |
7 |
|
8 |
app-i18n/ibus-unikey: add nls USE flag |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild | 12 +++++++----- |
13 |
1 file changed, 7 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild |
16 |
index 46bc7ae30ab..88450838275 100644 |
17 |
--- a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild |
18 |
+++ b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild |
19 |
@@ -11,20 +11,22 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go |
20 |
LICENSE="GPL-3" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~x86" |
23 |
-IUSE="gtk3" |
24 |
+IUSE="gtk3 nls" |
25 |
|
26 |
RDEPEND="app-i18n/ibus |
27 |
x11-libs/libX11 |
28 |
- virtual/libintl |
29 |
gtk3? ( x11-libs/gtk+:3 ) |
30 |
- !gtk3? ( x11-libs/gtk+:2 )" |
31 |
+ !gtk3? ( x11-libs/gtk+:2 ) |
32 |
+ nls? ( virtual/libintl )" |
33 |
DEPEND="${RDEPEND} |
34 |
virtual/pkgconfig |
35 |
dev-util/intltool |
36 |
- sys-devel/gettext" |
37 |
+ nls? ( sys-devel/gettext )" |
38 |
|
39 |
PATCHES=( "${DISTDIR}"/${P}-gcc6.patch ) |
40 |
|
41 |
src_configure() { |
42 |
- econf --with-gtk-version=$(usex gtk3 3 2) |
43 |
+ econf \ |
44 |
+ $(use_enable nls) \ |
45 |
+ --with-gtk-version=$(usex gtk3 3 2) |
46 |
} |