summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2022-06-20 21:46:51 +0900
committerAkinori Hattori <hattya@gentoo.org>2022-06-20 21:46:51 +0900
commitd36f68c6fe83be56ffea4179f15223d71368866e (patch)
treed9bbe9f3472ed76f72dc514d5ed2fd9307fced7f
parentsci-libs/rocSPARSE: backport upstream fix for test (diff)
downloadgentoo-d36f68c6fe83be56ffea4179f15223d71368866e.tar.gz
gentoo-d36f68c6fe83be56ffea4179f15223d71368866e.tar.bz2
gentoo-d36f68c6fe83be56ffea4179f15223d71368866e.zip
app-i18n/ibus-table: new upstream release
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
-rw-r--r--app-i18n/ibus-table/Manifest1
-rw-r--r--app-i18n/ibus-table/ibus-table-1.16.9.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-i18n/ibus-table/Manifest b/app-i18n/ibus-table/Manifest
index dd817c34ae09..be2b2963a468 100644
--- a/app-i18n/ibus-table/Manifest
+++ b/app-i18n/ibus-table/Manifest
@@ -1 +1,2 @@
DIST ibus-table-1.16.8.tar.gz 1468647 BLAKE2B acfb0cfce0e029abd55bc4465cac408be59a834761b2f1f5eca8798a11109bb9e885d17d1a1d171de5c7556308b1d7314fe97454a3a1fbd2494f492698ccc5ec SHA512 086650238b170db69ace0faacea6c8c9c03c099c59313cb7663b573f17bd4e9df9309dc9132708a89d6ce5cf00f4846ba50dab3462f31293b891487f1635aab2
+DIST ibus-table-1.16.9.tar.gz 1474440 BLAKE2B 8380c9549e4295850c81279e73b774beea610ebb632bc8a04fe0ce37a02c702652c0ec49ed3596851e05d2f151320daf60eb2631c8bbe439aee8c7e2834398f5 SHA512 840de16f62820456812c036ed84f99900d2d49885a9a6131da97efbec149ea426ab4a966541b16a18dbcedf38b6f78803b3fb04a5134258bb3796d3b9caf0b08
diff --git a/app-i18n/ibus-table/ibus-table-1.16.9.ebuild b/app-i18n/ibus-table/ibus-table-1.16.9.ebuild
new file mode 100644
index 000000000000..7314f41b0540
--- /dev/null
+++ b/app-i18n/ibus-table/ibus-table-1.16.9.ebuild
@@ -0,0 +1,55 @@
+# 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="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
+}