summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-04-13 22:01:19 -0700
committerMatt Turner <mattst88@gentoo.org>2022-04-15 12:24:58 -0700
commit900033e824860f3ae8d103725196b379e919369f (patch)
tree34f608a7f6b2b4cb24ac7e405e1e7514fac993e6 /app-i18n
parentapp-i18n/ibus: Improve USE=gtk2 flag description (diff)
downloadgentoo-900033e824860f3ae8d103725196b379e919369f.tar.gz
gentoo-900033e824860f3ae8d103725196b379e919369f.tar.bz2
gentoo-900033e824860f3ae8d103725196b379e919369f.zip
app-i18n/ibus: Add IUSE=+gtk4
Builds the GTK4 IM module; see upstream commit c7928b15 ("Add GTK4 IM module") first in v1.5.24. Closes: https://bugs.gentoo.org/830109 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus/ibus-1.5.26.ebuild6
-rw-r--r--app-i18n/ibus/metadata.xml1
2 files changed, 5 insertions, 2 deletions
diff --git a/app-i18n/ibus/ibus-1.5.26.ebuild b/app-i18n/ibus/ibus-1.5.26.ebuild
index 7adfebe47a7a..6eef64481367 100644
--- a/app-i18n/ibus/ibus-1.5.26.ebuild
+++ b/app-i18n/ibus/ibus-1.5.26.ebuild
@@ -18,8 +18,8 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="+X appindicator +emoji +gtk +gtk2 +introspection nls +python systemd test +unicode vala wayland"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+X appindicator +emoji +gtk +gtk2 +gtk4 +introspection nls +python systemd test +unicode vala wayland"
RESTRICT="!test? ( test )"
REQUIRED_USE="
gtk2? ( gtk )
@@ -47,6 +47,7 @@ DEPEND="
x11-libs/libX11
x11-libs/libXi
gtk2? ( x11-libs/gtk+:2 )
+ gtk4? ( gui-libs/gtk:4 )
)
introspection? ( dev-libs/gobject-introspection )
nls? ( virtual/libintl )
@@ -144,6 +145,7 @@ src_configure() {
$(use_enable gtk gtk3)
$(use_enable gtk ui)
$(use_enable gtk2)
+ $(use_enable gtk4)
$(use_enable introspection)
$(use_enable nls)
$(use_enable systemd systemd-services)
diff --git a/app-i18n/ibus/metadata.xml b/app-i18n/ibus/metadata.xml
index 12417c1e3007..940da8fb7bc4 100644
--- a/app-i18n/ibus/metadata.xml
+++ b/app-i18n/ibus/metadata.xml
@@ -13,6 +13,7 @@
<use>
<flag name="emoji">Enable support for Emoji</flag>
<flag name="gtk2">Enable the GTK-2 input method module</flag>
+ <flag name="gtk4">Enable the GTK-4 input method module</flag>
<flag name="unicode">Enable support for Unicode choice</flag>
</use>
<upstream>