1 |
commit: 03ef8ac753fd18707ab4f93ee3a684d056f9d063 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Wed Feb 21 18:55:30 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 21 20:32:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ef8ac7 |
7 |
|
8 |
app-i18n/ibus-libpinyin: Version bump (1.9.3). |
9 |
|
10 |
app-i18n/ibus-libpinyin/Manifest | 1 + |
11 |
.../ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild | 44 ++++++++++++++++++++++ |
12 |
2 files changed, 45 insertions(+) |
13 |
|
14 |
diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest |
15 |
index 80c59b4737a..b11dec5e346 100644 |
16 |
--- a/app-i18n/ibus-libpinyin/Manifest |
17 |
+++ b/app-i18n/ibus-libpinyin/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST ibus-libpinyin-1.9.2.tar.gz 1693247 BLAKE2B a887be2a11406420e86cf1e7f76f8d8c06cbffa62a0ab42d450015965c24accab51164ed18cdc8e24f26edf03676603a691c907e00722efc24e947919345570f SHA512 008390049b0186b7163cfd8857806715dd78235fc1e35a89d4b58a38eb7f292b643d48f502c0c924512a9f5a96d2581f577d6a9ec3b660d05d9a4adcde970430 |
20 |
+DIST ibus-libpinyin-1.9.3.tar.gz 1692251 BLAKE2B 6f23a8838f90c082a43fc2922bcaf13ecf287fdfb898f1ba213739f8e2f65ff9a68bdc57cf8f82e73e2c5e1569f1209b8294b45c30c5c3b7e32287b73394ddc7 SHA512 cad3d8415e0c206cbd2eb606ea04b5861e10c3a5f614d90bbba29b751fcc978e2ce1a8a000ceb8cc98de1afcc145ea62b5ee8e9d34e4184bccc487225b34ab1a |
21 |
|
22 |
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..1ac7959b0af |
25 |
--- /dev/null |
26 |
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild |
27 |
@@ -0,0 +1,44 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI="6" |
32 |
+ |
33 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
34 |
+PYTHON_REQ_USE="sqlite(+)" |
35 |
+ |
36 |
+inherit autotools python-single-r1 |
37 |
+ |
38 |
+DESCRIPTION="Intelligent Pinyin and Bopomofo input methods based on LibPinyin for IBus" |
39 |
+HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin https://sourceforge.net/projects/libpinyin/" |
40 |
+SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="boost lua opencc" |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+RDEPEND="${PYTHON_DEPS} |
49 |
+ app-i18n/ibus[python(+),${PYTHON_USEDEP}] |
50 |
+ >=app-i18n/libpinyin-2.1.0:= |
51 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
52 |
+ boost? ( dev-libs/boost:= ) |
53 |
+ lua? ( dev-lang/lua:0 ) |
54 |
+ opencc? ( app-i18n/opencc:= )" |
55 |
+ |
56 |
+DEPEND="${RDEPEND} |
57 |
+ virtual/libintl |
58 |
+ virtual/pkgconfig" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ --enable-english-input-mode \ |
68 |
+ $(use_enable boost) \ |
69 |
+ $(use_enable lua lua-extension) \ |
70 |
+ $(use_enable opencc) |
71 |
+} |