commit:     900033e824860f3ae8d103725196b379e919369f
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 14 05:01:19 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 19:24:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900033e8

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 <AT> gentoo.org>

 app-i18n/ibus/ibus-1.5.26.ebuild | 6 ++++--
 app-i18n/ibus/metadata.xml       | 1 +
 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>

Reply via email to