diff --git a/app-i18n/ibus-typing-booster/Manifest b/app-i18n/ibus-typing-booster/Manifest index 4b3a5a9630bdf..da2aa223e4477 100644 --- a/app-i18n/ibus-typing-booster/Manifest +++ b/app-i18n/ibus-typing-booster/Manifest @@ -1 +1,2 @@ DIST ibus-typing-booster-2.30.11.tar.gz 14764687 BLAKE2B 43a183cb6352690c2b58adec375cbaca39c4fabe19a589f6611386cc15f6a5026846ba85c4421d31a20c8b18c7403a1bf950df1cca9314791c5328a03c7b64e8 SHA512 2f455921964ccb6e43c2200840c62031471c1c65d615653b9db63e4e870f05245d842abe1199f9fc0b93fb4a272bf08409c1ccaa1e3e6f0191f9b92549fef6ad +DIST ibus-typing-booster-2.31.0.tar.gz 14764697 BLAKE2B 9c2acef8defca961baf74c83c2069775f9ba36948a26ff0a54370792fb6196e93803a17dd274da6def8559492c590a0d37ef8d51f253b7e5fd7bfac7e572ab50 SHA512 312d5b0b3f968619f6158636f39b7fd2eebeafaa72caf0539046d90d075176f223d059854d25ac9def4b099af92b26b029f0a849d586d7a47d400083a6d76e2f diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.31.0.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.31.0.ebuild new file mode 100644 index 0000000000000..ffa016294e36f --- /dev/null +++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.31.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PYTHON_COMPAT=( python3_{11..14} ) +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 +}