commit:     5ab78d8e69260484fc15fdaa184995f02c665ebf
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 02:13:08 2022 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 02:13:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab78d8e

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.19.6.ebuild              | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-i18n/ibus-typing-booster/Manifest 
b/app-i18n/ibus-typing-booster/Manifest
index 47e21ae20e23..f8f29b09ef57 100644
--- a/app-i18n/ibus-typing-booster/Manifest
+++ b/app-i18n/ibus-typing-booster/Manifest
@@ -1,2 +1,3 @@
 DIST ibus-typing-booster-2.18.9.tar.gz 11060426 BLAKE2B 
5a2e302bb93002c68e5a61001e013a26043e0b20922b6e79bfc96ebb0b4dbdd920df96d13545619e0b50684c7bf678b1c3df2556a40b0d4660439fc6984acd80
 SHA512 
1fe9dd28a042be7d946dc0a800363cd7870e8357fa75e4f57acd201b3cca96cfaab4ffbff1a53146713204e8c246ab1cf33ea379e9e1a3aa9b848306567cb7b3
 DIST ibus-typing-booster-2.19.0.tar.gz 11127967 BLAKE2B 
0efc148c55ca329b69db280fee9606d4773c48258ec0c5249992e802a1a6baa67577b884865f27a4145c044929a80b1d1e0d1cbffddc548539ba52f6d83b51c4
 SHA512 
e5852ff30fd5c7ebde5909a8f0af0292fc20e73eaf737bbb3b34af5c24144eb7c58fdb77bfbd3cc7f08110d0fb7ad9fe0a353eb52619da7f8e72d7a901e9004b
+DIST ibus-typing-booster-2.19.6.tar.gz 11053584 BLAKE2B 
3cab4a044fd8ba9593c336e4fa578f9a476f8b28921923f974fa9805918fdd2542c8cc706316f91bebddedf43c0ae35b418ea554e52f018afe24ad4802601deb
 SHA512 
261b438a07d1621e8f81d362137a1b2f4022cc090488917dfe56129aaf811e607d56e58aca6cf8808c164049ebb3f9c246e8076ff69d24a474685fe1c277d1b1

diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.19.6.ebuild 
b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.19.6.ebuild
new file mode 100644
index 000000000000..58166b805e3c
--- /dev/null
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.19.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+IUSE=""
+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