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-libpinyin/
Date: Thu, 23 Jun 2022 23:13:09 +0000 (UTC)	[thread overview]
Message-ID: <1656025969.d53d3e23b353806cc69433674efae755be17a720.dlan@gentoo> (raw)

commit:     d53d3e23b353806cc69433674efae755be17a720
Author:     Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
AuthorDate: Wed Jun 15 14:55:21 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 23:12:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53d3e23

app-i18n/ibus-libpinyin: Bump to 1.12.1, enable py3.10

Closes: https://github.com/gentoo/gentoo/pull/25910
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christian Tietz <christian.tietz <AT> mailbox.org>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/ibus-libpinyin/Manifest                   |  1 +
 .../ibus-libpinyin/ibus-libpinyin-1.12.1.ebuild    | 69 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest
index 4e4bf9ae6f8d..49e8d1e5a765 100644
--- a/app-i18n/ibus-libpinyin/Manifest
+++ b/app-i18n/ibus-libpinyin/Manifest
@@ -1 +1,2 @@
 DIST ibus-libpinyin-1.11.92.tar.gz 1730065 BLAKE2B 376bec6fa7616364c8ed4dc5b269edabda892ba4759ff03e93b4099c99440925126800ea3bf11eef91ea62c558fa7dbf05f3d68be5e25e701aaaeb37618b90a8 SHA512 b875b2fed6875806971b91e2abc62cdab1f70baef78840915f89466a7bcf3d1dfc70438ba85e7580bba92dec0ade50a2b05955fe6cd148bffd3888fa69f1c851
+DIST ibus-libpinyin-1.12.1.tar.gz 1766803 BLAKE2B 1de8a51b52688dede32c572b39bd379296480ab2b0f909357465370e346bdf50f4cade5ab3f105f62a74e59cf2dc5e8d5235aedde7571b70d3c5dcee86d2e36b SHA512 ad6e7507bdb468d506071135449383e5bd4fc878bcffda4be6e4e7915b79dbaf919d2fa941b92b177dc7790bd895eaa9a6d04a2610f85e1e80e8eb50f188211d

diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.12.1.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.12.1.ebuild
new file mode 100644
index 000000000000..7f8fdf0ab762
--- /dev/null
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.12.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2015-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+LUA_COMPAT=( lua5-{1..3} )
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools gnome2-utils lua-single python-single-r1
+
+DESCRIPTION="Intelligent Pinyin and Bopomofo input methods based on LibPinyin for IBus"
+HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin https://sourceforge.net/projects/libpinyin/"
+SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost lua opencc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	lua? ( ${LUA_REQUIRED_USE} )"
+
+BDEPEND="dev-db/sqlite:3
+	virtual/pkgconfig"
+
+DEPEND="${PYTHON_DEPS}
+	>=app-i18n/libpinyin-2.2.1:=
+	dev-db/sqlite:3
+	dev-libs/glib:2
+	virtual/libintl
+	$(python_gen_cond_dep '
+		app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+	')
+	boost? ( dev-libs/boost:= )
+	lua? ( ${LUA_DEPS} )
+	opencc? ( app-i18n/opencc:= )"
+
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+
+	if use lua; then
+		lua-single_pkg_setup
+	fi
+}
+
+src_prepare() {
+	sed -i \
+		-e "/^appdatadir/s:/appdata:/metainfo:" \
+		data/Makefile.am || die
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--enable-english-input-mode \
+		$(use_enable boost) \
+		$(use_enable lua lua-extension) \
+		$(use_enable opencc)
+}
+
+pkg_postinst() {
+	gnome2_schemas_update
+}
+
+pkg_postrm() {
+	gnome2_schemas_update
+}


             reply	other threads:[~2022-06-23 23:13 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-23 23:13 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-04  9:15 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-libpinyin/ Sam James
2024-11-24  8:57 Yixun Lan
2024-06-09 18:54 Matt Turner
2024-05-19 12:14 Yixun Lan
2023-09-09  7:08 Joonas Niilola
2023-09-09  6:57 Joonas Niilola
2023-09-08 18:50 Arthur Zamarin
2023-09-08  7:18 Joonas Niilola
2023-05-15  5:42 Sam James
2023-05-15  5:42 Sam James
2023-05-08 12:35 Sam James
2023-05-08 12:35 Sam James
2023-03-05 15:19 Sam James
2023-03-05 15:19 Sam James
2023-02-28 19:10 Sam James
2023-02-28 18:34 Arthur Zamarin
2022-10-08  1:37 Yixun Lan
2022-09-05 12:42 Yixun Lan
2022-07-07 14:01 Yixun Lan
2022-07-04  7:10 Joonas Niilola
2022-07-04  7:10 Joonas Niilola
2021-03-25 23:52 Conrad Kostecki
2020-12-07 18:14 Mike Gilbert
2020-09-04 15:11 Sam James
2020-08-30 17:14 Thomas Deutschmann
2020-08-30  8:57 Joonas Niilola
2020-08-26  3:23 Yixun Lan
2020-05-29 14:11 Yixun Lan
2020-05-29 14:11 Yixun Lan
2020-05-18 21:13 Agostino Sarubbo
2020-05-18 21:10 Agostino Sarubbo
2020-02-09 16:11 Michał Górny
2020-01-17 19:09 Mike Gilbert
2019-10-16 13:43 Yixun Lan
2019-10-14 11:50 Agostino Sarubbo
2019-10-14 11:16 Agostino Sarubbo
2019-10-09  7:37 Yixun Lan
2019-10-09  7:37 Yixun Lan
2019-10-09  7:37 Yixun Lan
2018-07-11  8:56 Tony Vroon
2018-07-11  8:56 Tony Vroon
2018-06-23 22:55 Jonas Stein
2018-02-21 20:34 Mike Gilbert
2018-02-21 20:34 Mike Gilbert
2017-11-28 18:36 Mike Gilbert
2017-11-01 20:54 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-08-31 19:53 Mike Gilbert
2017-08-31 19:53 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-14 22:24 Patrice Clement
2017-04-20  7:59 David Seifert
2016-05-27 10:22 Yixun Lan
2016-01-05 13:42 Agostino Sarubbo
2015-10-31  9:36 Ian Delaney

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=1656025969.d53d3e23b353806cc69433674efae755be17a720.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