summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-08-31 20:35:31 +0200
committerMike Gilbert <floppym@gentoo.org>2017-08-31 15:52:53 -0400
commit64903d8bf9eceb3c80b1c4234560b6f8177a1799 (patch)
tree37173143513de5685c1f5d754c302be42ef63fb6 /app-i18n/libpinyin
parentapp-i18n/kcm-fcitx: Update dependencies. (diff)
downloadgentoo-64903d8bf9eceb3c80b1c4234560b6f8177a1799.tar.gz
gentoo-64903d8bf9eceb3c80b1c4234560b6f8177a1799.tar.bz2
gentoo-64903d8bf9eceb3c80b1c4234560b6f8177a1799.zip
app-i18n/libpinyin: Version bump (2.1.0).
Diffstat (limited to 'app-i18n/libpinyin')
-rw-r--r--app-i18n/libpinyin/Manifest2
-rw-r--r--app-i18n/libpinyin/libpinyin-2.1.0.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/app-i18n/libpinyin/Manifest b/app-i18n/libpinyin/Manifest
index 6e2ef93dafce..fc09b33b0db0 100644
--- a/app-i18n/libpinyin/Manifest
+++ b/app-i18n/libpinyin/Manifest
@@ -2,6 +2,8 @@ DIST libpinyin-0.8.0.tar 2682880 SHA256 42fdb08a880a8c42a25712267463704f988293e0
DIST libpinyin-1.0.0.tar 2744320 SHA256 ba72c5a71f373771086198b844470d7384cb25b293f962212b02f8f4d718e40c SHA512 577d6d3d3e647a4a5047e3fc019d0e5b7778f49a229eabbf71da9ea73f6d8b935e6ca673698ddfb7d677e1634e05fb2dd0d3811f7b64e7b1184504160af42b87 WHIRLPOOL ad0b975b17010bcb5481eb3aa7304880fe97a682c8fcd0944a9070cf5148130c90714205fb16c440476667876b9f30834eaeec0ec6ef948a5dd59a1bf8a10454
DIST libpinyin-1.3.0.tar.gz 190686 SHA256 71a5749ff96a1ae5a71bea8d5c1394b16f9252c4e3ad5225cc66ad2a76ab6d7d SHA512 063fd114732650636aba21611042a3461eb5c0447dddef04957edfebd186b76d6eb9f29bc4d095c9b5aebcc7fc2acea345f49adae00eac1fad44822f088c7415 WHIRLPOOL c2840d0272ded79902047d46c14eb5c1ddd6ec3df322086c904f0a1d85e5150b9fdb33f97b276ed56c18039cbbb4d668f9ad014f65aadb9e703957b2e4ceea73
DIST libpinyin-2.0.92.tar.gz 245949 SHA256 8a37f0ab6334f1d64de1d83ebe290254e07bfaf27dde7dde01b4acb2bba51ca7 SHA512 acf90ab484d6e76d5247916ded71febb0d41152aa41eb7a90ef60d7d9d9ffd11512af078387542501e03edcf6e4f75c28157ed390186ab6d25ccbe4aa1cf8777 WHIRLPOOL ca196d008f3e083f97a97db6eb80ae2922c9bbb4dc3098b62a045c9a870a8a5ec3025e55e5ea677b6855be59dab54bea9cd54373b78ae298f442bab272d84073
+DIST libpinyin-2.1.0.tar.gz 246219 SHA256 d6ce0da926cb3485fa4b2e3805d49674a96a55e0cde9d31d57afb2626cbc32c6 SHA512 e6aa3998ac466cb155750b574140dd43673bfeb4f13d1b88c4892b61bb773aee84610dd67ad17871961d51a48067c535eab33a6fb6c9ac28179a9958c4e9b518 WHIRLPOOL 88827f2901e7394745f337d76742e1a2842b33ed732935ed96e740afebecd897c8720115a3c90deff751dabd4b7891e6575e26cfa5a99b433ff2cd79c5052e6c
+DIST libpinyin-model14.text.tar.gz 19361973 SHA256 185f0f175a90bcfc55cf3cf6ceff8d447a6269492c0ca1a1fc0748ea2c181363 SHA512 792d3cf7ab7fdea701737cea66d18f697015f19d18b6d26273db2da0ae28291f38b3d8a5717f595da63fbe573921c552bdce10c4bec9a0834947dfec92265da9 WHIRLPOOL 5de2ed18c20cfd94a31420085d7fafa93601858279126e553b7aed2ff9a69e6efed6fd8aae3cab8c9fe0b5bd6dfad2c3002857777b6ab6f0e0d94719943f834d
DIST model.text.tar.gz 10285854 SHA256 a4924c5b5923c3ff9ce55456a417486d07d3b2f7afc194f4338a1221fe36b533 SHA512 d3f137c7de0f357950abbb1e00c0f5d62fb5b4b0ea9f3a6dff29bf6bb2e4f5293319321abf1bad88742868563f65d74f0226f433ba4bcfdfe2c23fef6fea7c74 WHIRLPOOL fd1d637cfcecbbbd7506d15fd107106e578013aa9ca4c0be1aab110fb49ebcb2dbf1493953349e7cf7b0a8a5a0c2c216d993278d8ae78b42f5c703363b4efe60
DIST model11.text.tar.gz 17197590 SHA256 d0428e87a8c6b214036641a3317834f8352e77cbba0f040c7bd3495d13ef3f71 SHA512 21c048e7f93db9626ec1545a977abb555e12149b791ddab0b0b4fe4adf6fc082d2c2ede28fc42407e72e15f0af1cf428dc58ad955c514d1bcbc67006803e0be7 WHIRLPOOL 7549d45219912880b179c844b5398f063ab27b1db23f2b40a96ff7a29a0217ec430fbef9b2b2b031cb27d22a77eea363ee810e5c259dc7340365d2901a1a1fad
DIST model14.text.tar.gz 19361973 SHA256 185f0f175a90bcfc55cf3cf6ceff8d447a6269492c0ca1a1fc0748ea2c181363 SHA512 792d3cf7ab7fdea701737cea66d18f697015f19d18b6d26273db2da0ae28291f38b3d8a5717f595da63fbe573921c552bdce10c4bec9a0834947dfec92265da9 WHIRLPOOL 5de2ed18c20cfd94a31420085d7fafa93601858279126e553b7aed2ff9a69e6efed6fd8aae3cab8c9fe0b5bd6dfad2c3002857777b6ab6f0e0d94719943f834d
diff --git a/app-i18n/libpinyin/libpinyin-2.1.0.ebuild b/app-i18n/libpinyin/libpinyin-2.1.0.ebuild
new file mode 100644
index 000000000000..1d9868e1e94d
--- /dev/null
+++ b/app-i18n/libpinyin/libpinyin-2.1.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/libpinyin/libpinyin"
+fi
+
+LIBPINYIN_MODEL_VERSION="14"
+
+DESCRIPTION="Library to deal with pinyin"
+HOMEPAGE="https://github.com/libpinyin/libpinyin https://sourceforge.net/projects/libpinyin/"
+if [[ "${PV}" == "9999" ]]; then
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/${PN}/${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=""
+
+RDEPEND="dev-libs/glib:2
+ sys-libs/db:="
+
+DEPEND="${RDEPEND}
+ virtual/libintl
+ virtual/pkgconfig"
+
+src_unpack() {
+ if [[ "${PV}" == "9999" ]]; then
+ git-r3_src_unpack
+ else
+ unpack ${P}.tar.gz
+ fi
+}
+
+src_prepare() {
+ default
+
+ ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die
+ sed -e "/^\twget .*\/model${LIBPINYIN_MODEL_VERSION}\.text\.tar\.gz$/d" -i data/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+ find "${D}" -name "*.la" -delete || die
+}