From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB8D815817D for ; Wed, 5 Jun 2024 08:30:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1077FE2A2A; Wed, 5 Jun 2024 08:30:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3D44E2A2A for ; Wed, 5 Jun 2024 08:29:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0868E340C40 for ; Wed, 5 Jun 2024 08:29:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7ADC11DF for ; Wed, 5 Jun 2024 08:29:56 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1717575665.557261ab82623ca89ad242e3d0e476512dc1b3f3.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-hangul/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-hangul/Manifest app-i18n/ibus-hangul/ibus-hangul-1.5.5.ebuild X-VCS-Directories: app-i18n/ibus-hangul/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 557261ab82623ca89ad242e3d0e476512dc1b3f3 X-VCS-Branch: master Date: Wed, 5 Jun 2024 08:29:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a806181-4aa6-4701-8ae9-7543f1eee2f0 X-Archives-Hash: 656ddbe393c18b058c2d805bdf9edff1 commit: 557261ab82623ca89ad242e3d0e476512dc1b3f3 Author: Yixun Lan gentoo org> AuthorDate: Wed Jun 5 08:07:04 2024 +0000 Commit: Yixun Lan gentoo 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 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 +}