summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-02-21 19:48:33 +0100
committerMike Gilbert <floppym@gentoo.org>2018-02-21 15:32:19 -0500
commitd836166b20366d998937a8ad46a01c43130ee09e (patch)
tree00a6c6f2f3d168ea19177be8edf1c87a3590349b /app-i18n/libpinyin
parentapp-i18n/libpinyin: Update model version. (diff)
downloadgentoo-d836166b20366d998937a8ad46a01c43130ee09e.tar.gz
gentoo-d836166b20366d998937a8ad46a01c43130ee09e.tar.bz2
gentoo-d836166b20366d998937a8ad46a01c43130ee09e.zip
app-i18n/libpinyin: Enable libzhuyin.
Diffstat (limited to 'app-i18n/libpinyin')
-rw-r--r--app-i18n/libpinyin/libpinyin-9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-i18n/libpinyin/libpinyin-9999.ebuild b/app-i18n/libpinyin/libpinyin-9999.ebuild
index 8d99c24cb219..4d8960cc6eda 100644
--- a/app-i18n/libpinyin/libpinyin-9999.ebuild
+++ b/app-i18n/libpinyin/libpinyin-9999.ebuild
@@ -13,7 +13,7 @@ fi
LIBPINYIN_MODEL_VERSION="15"
-DESCRIPTION="Library to deal with pinyin"
+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=""
@@ -45,14 +45,16 @@ src_unpack() {
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
+ ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die
eautoreconf
}
src_configure() {
- econf --disable-static
+ econf \
+ --enable-libzhuyin \
+ --disable-static
}
src_install() {