app-i18n/ibus-unikey: drop gtk2 USE flag

Closes: https://bugs.gentoo.org/769113
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori
2021-10-18 22:14:20 +09:00
parent 876917ab1b
commit de02cf7053
2 changed files with 3 additions and 10 deletions
@@ -11,15 +11,11 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+gtk gtk2 nls"
REQUIRED_USE="gtk2? ( gtk )"
IUSE="nls"
RDEPEND="app-i18n/ibus
x11-libs/libX11
gtk? (
gtk2? ( x11-libs/gtk+:2 )
!gtk2? ( x11-libs/gtk+:3 )
)
x11-libs/gtk+:3
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
@@ -31,5 +27,5 @@ PATCHES=( "${DISTDIR}"/${P}-gcc6.patch )
src_configure() {
econf \
$(use_enable nls) \
--with-gtk-version=$(usex gtk2 3 2)
--with-gtk-version=3
}
-3
View File
@@ -9,9 +9,6 @@
The UniKey engine for IBus. It provides a Vietnamese input method using
UniKey. Support via forum at: http://forum.ubuntu-vn.com/viewforum.php?f=85
</longdescription>
<use>
<flag name="gtk2">Enable support for <pkg>x11-libs/gtk+</pkg>:2</flag>
</use>
<upstream>
<remote-id type="github">vn-input/ibus-unikey</remote-id>
</upstream>