summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2023-08-17 23:06:24 +0900
committerAkinori Hattori <hattya@gentoo.org>2023-08-17 23:06:24 +0900
commit633add85e1df1ec6a84011e27c93a09813df65b9 (patch)
tree27edeaaf24b6f7b92cea34e1e9f37bf3a00f8b8e /app-i18n
parentdev-scheme/racket: fix manifest (diff)
downloadgentoo-633add85e1df1ec6a84011e27c93a09813df65b9.tar.gz
gentoo-633add85e1df1ec6a84011e27c93a09813df65b9.tar.bz2
gentoo-633add85e1df1ec6a84011e27c93a09813df65b9.zip
app-i18n/ibus-typing-booster: new upstream release
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-typing-booster/Manifest1
-rw-r--r--app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-i18n/ibus-typing-booster/Manifest b/app-i18n/ibus-typing-booster/Manifest
index 0d16fe37e5b7..bb68568bb554 100644
--- a/app-i18n/ibus-typing-booster/Manifest
+++ b/app-i18n/ibus-typing-booster/Manifest
@@ -1 +1,2 @@
DIST ibus-typing-booster-2.22.5.tar.gz 11325715 BLAKE2B 21247eeffc520d96bb8a1d52e7af0966d257a586cad5f097b0b72fff420fe32a63cefd4a8ec15e0ac55915ccddab81be33d136e931934303d08cd34ea786634a SHA512 1dd9942b1d77eb48ac967c53882d83228e8a7ff25dc7bdff2f624d0dd731b5ee511631cd6759bf35e4e7b3093e4831c1996fcbe69cc4435fde9412514656dc89
+DIST ibus-typing-booster-2.23.4.tar.gz 11514625 BLAKE2B e4f2e79bc2e5f85581dd36bab82b1aca1a1a6232341cc35aeb717fbbc8e2f44c14364554c7f257cd70213fe1c5b7b7e1d6a891a5c751ed45c7c8a4703d620bed SHA512 ae13f5ed078fddd31dc81676516e2455ebe78bf9b621a44685da238db0f2eb792766875a49919ebaa3b91a225897558257d2e38901f2c5a6d890023a7b8c9606
diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild
new file mode 100644
index 000000000000..564f684f9809
--- /dev/null
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{9..11} )
+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
+}