public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-hangul/
Date: Wed,  5 Jun 2024 08:29:56 +0000 (UTC)	[thread overview]
Message-ID: <1717575665.557261ab82623ca89ad242e3d0e476512dc1b3f3.dlan@gentoo> (raw)

commit:     557261ab82623ca89ad242e3d0e476512dc1b3f3
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 08:07:04 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 08:21:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557261ab

app-i18n/ibus-hangul: add 1.5.5, py3.12 support

Closes: https://bugs.gentoo.org/929319
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/ibus-hangul/Manifest                 |  1 +
 app-i18n/ibus-hangul/ibus-hangul-1.5.5.ebuild | 65 +++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/app-i18n/ibus-hangul/Manifest b/app-i18n/ibus-hangul/Manifest
index 45b735f1b8ce..5ca8d3275e15 100644
--- a/app-i18n/ibus-hangul/Manifest
+++ b/app-i18n/ibus-hangul/Manifest
@@ -1 +1,2 @@
 DIST ibus-hangul-1.5.4.tar.gz 542612 BLAKE2B 46495c04a37888a3ed21831b5bbca5b788f4d3a831fb3ce4eb13d95f302877fadddf831016f1d29aa2c1a6ba73fc0d585f2be57c10267a51a1a2186642632918 SHA512 dc4c755349424605de3832496a8a0cf7e8da577cbeff85d2b03da187fd5fdc9de5475eb523c69310e4f7edbb9a513f6f218de082ba32a25a477cdf5eb6f65513
+DIST ibus-hangul-1.5.5.tar.xz 356120 BLAKE2B 8f2186d19598927c8c824dbd036cfb997db95eae08c4a59489e3be987b5445cb7dffe5bfe766b339c60ea0a892130a0269522f00c8dfd910011b7a0eefc087b5 SHA512 c95900b8f47fc69dda04b6a41a1965a6d3a293727749b72bd234d6e899558dffce669df29a4e8c9dcc53d9f7b6cb18e84c4b0c55ef143731a894e0b5693c0722

diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.5.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.5.ebuild
new file mode 100644
index 000000000000..3d3cbefc5d2e
--- /dev/null
+++ b/app-i18n/ibus-hangul/ibus-hangul-1.5.5.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools gnome2-utils python-single-r1 xdg virtualx
+
+DESCRIPTION="Korean Hangul engine for IBus"
+HOMEPAGE="https://github.com/libhangul/ibus-hangul/wiki"
+SRC_URI="https://github.com/libhangul/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+	')
+	>=app-i18n/libhangul-0.1
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gettext
+	virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-test.patch )
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable nls) \
+		--with-python=${EPYTHON}
+}
+
+src_test() {
+	"${BROOT}"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${S}"/data || die
+
+	export GSETTINGS_BACKEND="memory"
+	export GSETTINGS_SCHEMA_DIR="${S}/data"
+	virtx default
+}
+
+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	other threads:[~2024-06-05  8:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05  8:29 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-17 13:18 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-hangul/ Yixun Lan
2021-10-31  6:26 Arthur Zamarin
2021-10-20 14:26 Akinori Hattori
2021-10-20 14:26 Akinori Hattori
2021-06-01 11:44 Sam James
2020-09-03 13:58 Akinori Hattori
2020-09-03 13:58 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-05-18 14:51 Akinori Hattori
2020-02-29  2:40 Akinori Hattori
2020-02-09 16:11 Michał Górny
2019-09-29  2:56 Mike Gilbert
2019-09-08 10:55 Agostino Sarubbo
2019-09-07 21:07 Thomas Deutschmann
2018-09-04 12:45 Akinori Hattori
2018-08-29 12:38 Akinori Hattori
2018-08-28 13:27 Akinori Hattori
2018-08-28 13:27 Akinori Hattori
2018-08-28 13:27 Akinori Hattori
2016-10-16 10:04 Pacho Ramos
2016-10-16 10:04 Pacho Ramos
2016-10-09  7:56 Pacho Ramos
2016-05-15 10:44 Patrick Lauer
2015-09-01 18:46 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717575665.557261ab82623ca89ad242e3d0e476512dc1b3f3.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox