1 |
commit: d836166b20366d998937a8ad46a01c43130ee09e |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Wed Feb 21 18:48:33 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 21 20:32:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d836166b |
7 |
|
8 |
app-i18n/libpinyin: Enable libzhuyin. |
9 |
|
10 |
app-i18n/libpinyin/libpinyin-9999.ebuild | 8 +++++--- |
11 |
1 file changed, 5 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/app-i18n/libpinyin/libpinyin-9999.ebuild b/app-i18n/libpinyin/libpinyin-9999.ebuild |
14 |
index 8d99c24cb21..4d8960cc6ed 100644 |
15 |
--- a/app-i18n/libpinyin/libpinyin-9999.ebuild |
16 |
+++ b/app-i18n/libpinyin/libpinyin-9999.ebuild |
17 |
@@ -13,7 +13,7 @@ fi |
18 |
|
19 |
LIBPINYIN_MODEL_VERSION="15" |
20 |
|
21 |
-DESCRIPTION="Library to deal with pinyin" |
22 |
+DESCRIPTION="Libraries for handling of Hanyu Pinyin and Zhuyin Fuhao" |
23 |
HOMEPAGE="https://github.com/libpinyin/libpinyin https://sourceforge.net/projects/libpinyin/" |
24 |
if [[ "${PV}" == "9999" ]]; then |
25 |
SRC_URI="" |
26 |
@@ -45,14 +45,16 @@ src_unpack() { |
27 |
src_prepare() { |
28 |
default |
29 |
|
30 |
- ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die |
31 |
sed -e "/^\twget .*\/model${LIBPINYIN_MODEL_VERSION}\.text\.tar\.gz$/d" -i data/Makefile.am || die |
32 |
+ ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die |
33 |
|
34 |
eautoreconf |
35 |
} |
36 |
|
37 |
src_configure() { |
38 |
- econf --disable-static |
39 |
+ econf \ |
40 |
+ --enable-libzhuyin \ |
41 |
+ --disable-static |
42 |
} |
43 |
|
44 |
src_install() { |