commit:     14ba08608b879d0fd330eadd95731f60728bf260
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 08:13:43 2025 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat May 17 08:13:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ba0860

app-i18n/ibus-typing-booster: new upstream release

Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-i18n/ibus-typing-booster/Manifest              |  1 +
 .../ibus-typing-booster-2.27.53.ebuild             | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-i18n/ibus-typing-booster/Manifest 
b/app-i18n/ibus-typing-booster/Manifest
index 3002cd84d931..ca98448a5d87 100644
--- a/app-i18n/ibus-typing-booster/Manifest
+++ b/app-i18n/ibus-typing-booster/Manifest
@@ -1 +1,2 @@
 DIST ibus-typing-booster-2.27.30.tar.gz 13605274 BLAKE2B 
7fe653c0b4990a1d035107676927c5cea84f5a9bd2a9dbcb86bb996a9e2ad3a79216ae04a64a8f3dba5a01930df1db93d86062c73070d014dfcab5e67dd013a6
 SHA512 
90a3832f64884c7bf19513ac19344efea2dd5946db70bbe37d84eda6d8a9fffa2cfee7682869ba7e4ed0fe1e579f21eb046e973a3091dc0cc2b7eaba07e3eca3
+DIST ibus-typing-booster-2.27.53.tar.gz 13721706 BLAKE2B 
17efc30765cd7bcb26ecbdd66bfd72e157043730dddac3e4527a9f0c11352db0bde9281b1d9cb6a68b8fabddab39887e36174cbf4dfe8326d64111fad2e08d22
 SHA512 
3dc6c3749d927361c81a53ef0f820b7edf457acdedfa52e10690e56cddd9992d63503e48a1621481ad6c43a8913a49b4e463e629f2b742f1011e4390b0031a50

diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.27.53.ebuild 
b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.27.53.ebuild
new file mode 100644
index 000000000000..b05f4dd9dd7f
--- /dev/null
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.27.53.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="sqlite(+)"
+
+inherit gnome2-utils python-single-r1 xdg
+
+DESCRIPTION="Completion input method for IBus"
+HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster";
+SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+       dev-libs/m17n-lib
+       $(python_gen_cond_dep '
+               app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+               dev-python/dbus-python[${PYTHON_USEDEP}]
+               dev-python/pyenchant[${PYTHON_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_USEDEP}]
+               dev-python/pyxdg[${PYTHON_USEDEP}]
+       ')"
+RDEPEND="${DEPEND}
+       >=dev-db/m17n-db-1.7"
+BDEPEND="sys-devel/gettext
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+
+       sed -i "s|/usr\(/bin/sh\)|\1|" {engine,setup}/*.in
+}
+
+pkg_preinst() {
+       xdg_pkg_preinst
+       gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to