summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-i18n/libpinyin/Manifest1
-rw-r--r--app-i18n/libpinyin/libpinyin-2.6.2.ebuild61
2 files changed, 0 insertions, 62 deletions
diff --git a/app-i18n/libpinyin/Manifest b/app-i18n/libpinyin/Manifest
index d8643b1cfa27..98e330051884 100644
--- a/app-i18n/libpinyin/Manifest
+++ b/app-i18n/libpinyin/Manifest
@@ -1,3 +1,2 @@
-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.6.2.ebuild b/app-i18n/libpinyin/libpinyin-2.6.2.ebuild
deleted file mode 100644
index a09759f85b85..000000000000
--- a/app-i18n/libpinyin/libpinyin-2.6.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2012-2024 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+=" https://downloads.sourceforge.net/${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
-}