summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-23 21:12:08 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-23 21:19:46 +0900
commit0218e40f773d82a335aad452a7b2af4eb8211f31 (patch)
tree792f79343e7960b7ad534baaf22830726ebc78fc /app-i18n/ibus-m17n
parentdev-libs/oniguruma: fix CVE-2017-9226 (diff)
downloadgentoo-0218e40f773d82a335aad452a7b2af4eb8211f31.tar.gz
gentoo-0218e40f773d82a335aad452a7b2af4eb8211f31.tar.bz2
gentoo-0218e40f773d82a335aad452a7b2af4eb8211f31.zip
app-i18n/ibus-m17n: switch to gtk2 USE flag
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-m17n')
-rw-r--r--app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild10
-rw-r--r--app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild10
-rw-r--r--app-i18n/ibus-m17n/metadata.xml7
3 files changed, 12 insertions, 15 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 aad4f296f040..e7c59414eb7f 100644
--- a/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild
+++ b/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild
@@ -10,13 +10,13 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="gtk gtk3 nls"
+IUSE="gtk gtk2 nls"
CDEPEND="app-i18n/ibus
dev-libs/m17n-lib
gtk? (
- !gtk3? ( x11-libs/gtk+:2 )
- gtk3? ( x11-libs/gtk+:3 )
+ gtk2? ( x11-libs/gtk+:2 )
+ !gtk2? ( x11-libs/gtk+:3 )
)
nls? ( virtual/libintl )"
RDEPEND="${CDEPEND}
@@ -28,10 +28,10 @@ DEPEND="${CDEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
-REQUIRED_USE="gtk3? ( gtk )"
+REQUIRED_USE="gtk2? ( gtk )"
src_configure() {
econf \
$(use_enable nls) \
- $(use_with gtk gtk $(usex !gtk3 2.0 3.0))
+ $(use_with gtk gtk $(usex gtk2 2.0 3.0))
}
diff --git a/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild b/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild
index e3d0ab7586cc..4151c4c2cd46 100644
--- a/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild
+++ b/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild
@@ -10,13 +10,13 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gtk gtk3 nls"
+IUSE="gtk gtk2 nls"
CDEPEND="app-i18n/ibus
dev-libs/m17n-lib
gtk? (
- !gtk3? ( x11-libs/gtk+:2 )
- gtk3? ( x11-libs/gtk+:3 )
+ gtk2? ( x11-libs/gtk+:2 )
+ !gtk2? ( x11-libs/gtk+:3 )
)
nls? ( virtual/libintl )"
RDEPEND="${CDEPEND}
@@ -28,10 +28,10 @@ DEPEND="${CDEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
-REQUIRED_USE="gtk3? ( gtk )"
+REQUIRED_USE="gtk2? ( gtk )"
src_configure() {
econf \
$(use_enable nls) \
- $(use_with gtk gtk $(usex !gtk3 2.0 3.0))
+ $(use_with gtk gtk $(usex gtk2 2.0 3.0))
}
diff --git a/app-i18n/ibus-m17n/metadata.xml b/app-i18n/ibus-m17n/metadata.xml
index b9d88c40b203..7b7ce9871f26 100644
--- a/app-i18n/ibus-m17n/metadata.xml
+++ b/app-i18n/ibus-m17n/metadata.xml
@@ -14,11 +14,8 @@
<remote-id type="github">ibus/ibus-m17n</remote-id>
</upstream>
<use>
- <flag name="gtk">
- Build the preference interfaces, based on <pkg>x11-libs/gtk+</pkg>:2
- </flag>
- <flag name="gtk3">
- Build the preference interfaces, based on <pkg>x11-libs/gtk+</pkg>:3
+ <flag name="gtk2">
+ Build with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3
</flag>
</use>
</pkgmetadata>