diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-08-12 23:36:11 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-08-12 23:38:52 +0900 |
commit | 1bc7cbe866535252e1e8a232bb274011d0db3c30 (patch) | |
tree | 12dcf2644f2951b51b867fdd7a0cf934a2d667e6 | |
parent | app-i18n/ibus-unikey: add nls USE flag (diff) | |
download | gentoo-1bc7cbe866535252e1e8a232bb274011d0db3c30.tar.gz gentoo-1bc7cbe866535252e1e8a232bb274011d0db3c30.tar.bz2 gentoo-1bc7cbe866535252e1e8a232bb274011d0db3c30.zip |
app-i18n/ibus-unikey: switch to gtk2 USE flag
Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r-- | app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild | 11 | ||||
-rw-r--r-- | app-i18n/ibus-unikey/metadata.xml | 2 |
2 files changed, 8 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 88450838275c..63c9b7f58158 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,12 +11,15 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="gtk3 nls" +IUSE="+gtk gtk2 nls" +REQUIRED_USE="gtk2? ( gtk )" RDEPEND="app-i18n/ibus x11-libs/libX11 - gtk3? ( x11-libs/gtk+:3 ) - !gtk3? ( x11-libs/gtk+:2 ) + gtk? ( + gtk2? ( x11-libs/gtk+:2 ) + !gtk2? ( x11-libs/gtk+:3 ) + ) nls? ( virtual/libintl )" DEPEND="${RDEPEND} virtual/pkgconfig @@ -28,5 +31,5 @@ PATCHES=( "${DISTDIR}"/${P}-gcc6.patch ) src_configure() { econf \ $(use_enable nls) \ - --with-gtk-version=$(usex gtk3 3 2) + --with-gtk-version=$(usex gtk2 3 2) } diff --git a/app-i18n/ibus-unikey/metadata.xml b/app-i18n/ibus-unikey/metadata.xml index cf5b6f5768ba..880cfde265eb 100644 --- a/app-i18n/ibus-unikey/metadata.xml +++ b/app-i18n/ibus-unikey/metadata.xml @@ -10,7 +10,7 @@ UniKey. Support via forum at: http://forum.ubuntu-vn.com/viewforum.php?f=85 </longdescription> <use> - <flag name="gtk3">Enable support for <pkg>x11-libs/gtk+</pkg>:3</flag> + <flag name="gtk2">Enable support for <pkg>x11-libs/gtk+</pkg>:2</flag> </use> <upstream> <remote-id type="github">mrlequoctuan/ibus-unikey</remote-id> |