From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/libpinyin/
Date: Mon, 15 May 2023 05:42:51 +0000 (UTC) [thread overview]
Message-ID: <1684129116.4230e65e857a003dbe384e459d9fe6254a1d4f94.sam@gentoo> (raw)
commit: 4230e65e857a003dbe384e459d9fe6254a1d4f94
Author: Graham Ramsey <graham.ramsey <AT> gmail <DOT> com>
AuthorDate: Sat May 13 15:50:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 15 05:38:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4230e65e
app-i18n/libpinyin: add 2.8.1
Bug: https://bugs.gentoo.org/899888
Signed-off-by: Graham Ramsey <graham.ramsey <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-i18n/libpinyin/Manifest | 1 +
app-i18n/libpinyin/libpinyin-2.8.1.ebuild | 61 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/app-i18n/libpinyin/Manifest b/app-i18n/libpinyin/Manifest
index 04afe2227702..d8643b1cfa27 100644
--- a/app-i18n/libpinyin/Manifest
+++ b/app-i18n/libpinyin/Manifest
@@ -1,2 +1,3 @@
DIST libpinyin-2.6.2.tar.gz 260101 BLAKE2B 7ba61c5bfe68991866112bbb63383bd7062164f92d63150b42c30f39d383f62a339a13eafa1596d1988d8e308c93ccc0f45cceeb557ce329788da507eed3e2ab SHA512 839907bed9bc796185fbe7d7b30ab84bc9bd45212797c75081475791aa62ad3465509ecc5fabe6ea27d02be9d2ca61764a472684b011b0c211bd5f4f26a0f9ca
+DIST libpinyin-2.8.1.tar.gz 264751 BLAKE2B a05236513ebb39ec309a045f76582fd872db3b1a5a539fce1eec7e18cecb75b2a6228d0685d4a3069fea9855c52e1ede7d735645a2f61bd567401ea32685e6cb SHA512 b9b4f183ab8351bbbb0d9582a65d62b22c049261d21098df8ee3bf9f78b6b67e511221d4590692c137d20a334db5eaee12586a83b2d317c75be196107b28595f
DIST libpinyin-model19.text.tar.gz 20279012 BLAKE2B d8721d106235ef6fb99ad8dd4f4911bb23bf66f0259b01c39fd8ee829f0a63f326894802d62e51531a10f453dff1f4bb6e3e1648cf4aeac8213dccd10fc8ca4d SHA512 93c70423ba14faa3402bce775f82769dd4ee3a49083beddc540825f88facbd847328e9d01d99473adb7cf26de0f853e2b2e14fe849b1c49531134d1ca4ed2ef2
diff --git a/app-i18n/libpinyin/libpinyin-2.8.1.ebuild b/app-i18n/libpinyin/libpinyin-2.8.1.ebuild
new file mode 100644
index 000000000000..b186e041edb4
--- /dev/null
+++ b/app-i18n/libpinyin/libpinyin-2.8.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2012-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/libpinyin/libpinyin"
+fi
+
+LIBPINYIN_MODEL_VERSION="19"
+
+DESCRIPTION="Libraries for handling of Hanyu Pinyin and Zhuyin Fuhao"
+HOMEPAGE="https://github.com/libpinyin/libpinyin https://sourceforge.net/projects/libpinyin/"
+if [[ "${PV}" == "9999" ]]; then
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+SRC_URI+=" mirror://sourceforge/${PN}/models/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz -> ${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0/13"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE=""
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="dev-libs/glib:2
+ sys-libs/db:="
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ if [[ "${PV}" == "9999" ]]; then
+ git-r3_src_unpack
+ else
+ unpack ${P}.tar.gz
+ fi
+}
+
+src_prepare() {
+ default
+
+ sed -e "/^\twget .*\/model${LIBPINYIN_MODEL_VERSION}\.text\.tar\.gz$/d" -i data/Makefile.am || die
+ ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-libzhuyin \
+ --disable-static
+}
+
+src_install() {
+ default
+ find "${D}" -name "*.la" -delete || die
+}
next reply other threads:[~2023-05-15 5:42 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 5:42 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-09 18:54 [gentoo-commits] repo/gentoo:master commit in: app-i18n/libpinyin/ Matt Turner
2023-05-15 5:42 Sam James
2022-10-18 11:05 Jakov Smolić
2022-08-02 7:48 Joonas Niilola
2022-06-23 23:13 Yixun Lan
2020-11-16 19:51 Mike Gilbert
2020-11-16 19:51 Mike Gilbert
2019-06-28 18:10 Mike Gilbert
2019-06-22 9:38 Sergei Trofimovich
2019-06-22 9:32 Sergei Trofimovich
2019-06-18 15:59 Mike Gilbert
2019-04-19 16:39 Mike Gilbert
2019-04-19 16:39 Mike Gilbert
2019-02-25 21:25 Mike Gilbert
2018-12-19 17:59 Mike Gilbert
2018-11-18 16:01 Sergei Trofimovich
2018-11-18 10:52 Sergei Trofimovich
2018-11-16 20:25 Mike Gilbert
2018-10-19 17:39 Mike Gilbert
2018-10-19 17:39 Mike Gilbert
2018-04-26 15:14 Mike Gilbert
2018-04-26 15:14 Mike Gilbert
2018-02-21 20:34 Mike Gilbert
2018-02-21 20:34 Mike Gilbert
2018-02-21 20:34 Mike Gilbert
2017-11-28 18:36 Mike Gilbert
2017-11-18 10:13 Sergei Trofimovich
2017-11-18 10:03 Sergei Trofimovich
2017-11-01 20:54 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-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-14 22:24 Patrice Clement
2017-01-12 4:37 Yixun Lan
2016-05-27 10:22 Yixun Lan
2016-05-27 10:22 Yixun Lan
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=1684129116.4230e65e857a003dbe384e459d9fe6254a1d4f94.sam@gentoo \
--to=sam@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