commit:     d0583720f56e8cef048d52ac90c1271d974d0596
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 07:34:52 2024 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 07:34:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0583720

app-i18n/ibus-table: new upstream release

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

 app-i18n/ibus-table/Manifest                 |  1 +
 app-i18n/ibus-table/ibus-table-1.17.9.ebuild | 55 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-i18n/ibus-table/Manifest b/app-i18n/ibus-table/Manifest
index c9ef78a0bebc..06617fff25ce 100644
--- a/app-i18n/ibus-table/Manifest
+++ b/app-i18n/ibus-table/Manifest
@@ -1 +1,2 @@
 DIST ibus-table-1.17.8.tar.gz 1568671 BLAKE2B 
9d918901e31814ad0058ba08d26831704cc596475fb39b00e3fff4347624e5c4684ca931508c3b264f7b796408ce8672102839483877bfcee47b6d407f68a798
 SHA512 
0fb7ebb376ac35b29941e821eb320454b603edfe48e1745631bc06cd464b618b12fac541151f857360ba6a46e166e3565c2a3572709208d8e0f04f07a1adae86
+DIST ibus-table-1.17.9.tar.gz 1577459 BLAKE2B 
20ce94cfe02c34f6fca3049ce3f2d042950a281c5813d185182d1d33c7d7d21acd6e1f9a7a1487964fa1379663cb159fcc20f7a9e5d457e10cc17d5477dcee2c
 SHA512 
6c0dada370b5f8789eaea73c0e1a090bb0f244dfeb1295aa65bf3dc6d0ac71f290997dcf7f198e1e81221e26078b955c33a29cbf276f2bc059bb5e594a634a36

diff --git a/app-i18n/ibus-table/ibus-table-1.17.9.ebuild 
b/app-i18n/ibus-table/ibus-table-1.17.9.ebuild
new file mode 100644
index 000000000000..4ecd082cf0d0
--- /dev/null
+++ b/app-i18n/ibus-table/ibus-table-1.17.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="sqlite(+)"
+
+inherit gnome2-utils python-single-r1 xdg
+
+DESCRIPTION="Tables engines for IBus"
+HOMEPAGE="https://github.com/ibus/ibus/wiki";
+SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+RESTRICT="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       $(python_gen_cond_dep '
+               app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_USEDEP}]
+       ')
+       virtual/libiconv
+       nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+       nls? ( sys-devel/gettext )"
+
+src_prepare() {
+       python_fix_shebang .
+
+       default
+}
+
+src_configure() {
+       econf $(use_enable nls)
+}
+
+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