diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-08-12 23:35:08 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-08-12 23:38:51 +0900 |
commit | 87164ee1dd2aaa6ef64caa9de00f0de1865e2b14 (patch) | |
tree | ef625d580234c1f060016442dc217c2bc4ebae6a /app-i18n/ibus-unikey | |
parent | app-i18n/ibus-unikey: update HOMEPAGE and SRC_URI (diff) | |
download | gentoo-87164ee1dd2aaa6ef64caa9de00f0de1865e2b14.tar.gz gentoo-87164ee1dd2aaa6ef64caa9de00f0de1865e2b14.tar.bz2 gentoo-87164ee1dd2aaa6ef64caa9de00f0de1865e2b14.zip |
app-i18n/ibus-unikey: add nls USE flag
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-unikey')
-rw-r--r-- | app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
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 index 46bc7ae30abd..88450838275c 100644 --- a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild +++ b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild @@ -11,20 +11,22 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="gtk3" +IUSE="gtk3 nls" RDEPEND="app-i18n/ibus x11-libs/libX11 - virtual/libintl gtk3? ( x11-libs/gtk+:3 ) - !gtk3? ( x11-libs/gtk+:2 )" + !gtk3? ( x11-libs/gtk+:2 ) + nls? ( virtual/libintl )" DEPEND="${RDEPEND} virtual/pkgconfig dev-util/intltool - sys-devel/gettext" + nls? ( sys-devel/gettext )" PATCHES=( "${DISTDIR}"/${P}-gcc6.patch ) src_configure() { - econf --with-gtk-version=$(usex gtk3 3 2) + econf \ + $(use_enable nls) \ + --with-gtk-version=$(usex gtk3 3 2) } |