diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-07-21 00:02:37 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-07-21 00:04:11 +0900 |
commit | ce2019556de4202ba5b97672f27ea7fc55475f72 (patch) | |
tree | 354df411d4c5595bc2a5a1537ce8f1157fab13be /app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild | |
parent | app-i18n/ibus-m17n: fix RDEPEND (diff) | |
download | gentoo-ce2019556de4202ba5b97672f27ea7fc55475f72.tar.gz gentoo-ce2019556de4202ba5b97672f27ea7fc55475f72.tar.bz2 gentoo-ce2019556de4202ba5b97672f27ea7fc55475f72.zip |
app-i18n/ibus-m17n: add gtk3 USE flag
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild')
-rw-r--r-- | app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild b/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild index 2b578de899a8..aad4f296f040 100644 --- a/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild +++ b/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild @@ -10,11 +10,14 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="gtk nls" +IUSE="gtk gtk3 nls" CDEPEND="app-i18n/ibus dev-libs/m17n-lib - gtk? ( x11-libs/gtk+:2 ) + gtk? ( + !gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + ) nls? ( virtual/libintl )" RDEPEND="${CDEPEND} || ( @@ -25,9 +28,10 @@ DEPEND="${CDEPEND} dev-util/intltool sys-devel/gettext virtual/pkgconfig" +REQUIRED_USE="gtk3? ( gtk )" src_configure() { econf \ $(use_enable nls) \ - $(use_with gtk gtk 2.0) + $(use_with gtk gtk $(usex !gtk3 2.0 3.0)) } |