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 25775158095 for ; Thu, 23 Jun 2022 23:13:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E673E087A; Thu, 23 Jun 2022 23:13:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 17117E087A for ; Thu, 23 Jun 2022 23:13:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 33B65341AF7 for ; Thu, 23 Jun 2022 23:13:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73911105 for ; Thu, 23 Jun 2022 23:13:09 +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: <1656025966.dea44f266071c764bb32b49d220ec12d6c730dba.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/libpinyin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/libpinyin/Manifest app-i18n/libpinyin/libpinyin-2.6.2.ebuild X-VCS-Directories: app-i18n/libpinyin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: dea44f266071c764bb32b49d220ec12d6c730dba X-VCS-Branch: master Date: Thu, 23 Jun 2022 23:13:09 +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: 48da45cf-9dfa-42a4-afe1-a17154f69e53 X-Archives-Hash: 4b57559b1bfc76fe6ca6de38321e8d93 commit: dea44f266071c764bb32b49d220ec12d6c730dba Author: Christian Tietz mailbox org> AuthorDate: Wed Jun 15 14:53:31 2022 +0000 Commit: Yixun Lan gentoo org> CommitDate: Thu Jun 23 23:12:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea44f26 app-i18n/libpinyin: Bump to 2.6.2 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Christian Tietz mailbox.org> Signed-off-by: Yixun Lan gentoo.org> app-i18n/libpinyin/Manifest | 1 + app-i18n/libpinyin/libpinyin-2.6.2.ebuild | 61 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/app-i18n/libpinyin/Manifest b/app-i18n/libpinyin/Manifest index a254d6b1f598..96633388429e 100644 --- a/app-i18n/libpinyin/Manifest +++ b/app-i18n/libpinyin/Manifest @@ -1,3 +1,4 @@ DIST libpinyin-2.3.0.tar.gz 256549 BLAKE2B 621176ab14dfe8fb3c32e3ae0b727b8070b5fdcc3a79f8f3c646538151601c7fefe0b2778a54c50faabaf3026d9c029eaa52a0e04144d37f347ca571fd532908 SHA512 5cfe2d70c15dc532fa970a28b70da403f2d848747501bdbdf43c481f8165d6290cb1de086d2ef7af653edfe3fb164d4e8d9cf655302e2aa759709e6031b117b2 +DIST libpinyin-2.6.2.tar.gz 260101 BLAKE2B 7ba61c5bfe68991866112bbb63383bd7062164f92d63150b42c30f39d383f62a339a13eafa1596d1988d8e308c93ccc0f45cceeb557ce329788da507eed3e2ab SHA512 839907bed9bc796185fbe7d7b30ab84bc9bd45212797c75081475791aa62ad3465509ecc5fabe6ea27d02be9d2ca61764a472684b011b0c211bd5f4f26a0f9ca DIST libpinyin-model17.text.tar.gz 20278815 BLAKE2B d02a587ab29e1115843d8c2318ef70cf7c2318d5c60ef8135860c611935285fa0f061a21d7e85dd87f6efe957742e21e34a77a7b245b58945cdd478759b0e19f SHA512 d0bf8d476a63e33e292046754161316f00bfea71ebd06fca85b3845fe535431f01458282f505380cae018050aa6a08b14a7bc0684ba372dc79ee14391f47e8a1 DIST libpinyin-model19.text.tar.gz 20279012 BLAKE2B d8721d106235ef6fb99ad8dd4f4911bb23bf66f0259b01c39fd8ee829f0a63f326894802d62e51531a10f453dff1f4bb6e3e1648cf4aeac8213dccd10fc8ca4d SHA512 93c70423ba14faa3402bce775f82769dd4ee3a49083beddc540825f88facbd847328e9d01d99473adb7cf26de0f853e2b2e14fe849b1c49531134d1ca4ed2ef2 diff --git a/app-i18n/libpinyin/libpinyin-2.6.2.ebuild b/app-i18n/libpinyin/libpinyin-2.6.2.ebuild new file mode 100644 index 000000000000..e156b7a81667 --- /dev/null +++ b/app-i18n/libpinyin/libpinyin-2.6.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 2012-2022 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 ~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 +}