Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-libpinyin/
Date: Mon, 14 Aug 2017 22:24:44
Message-Id: 1502749383.34f775ffc1cf5e280f999fa64983c569c2896b44.monsieurp@gentoo
1 commit: 34f775ffc1cf5e280f999fa64983c569c2896b44
2 Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
3 AuthorDate: Fri Aug 4 01:00:37 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 14 22:23:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34f775ff
7
8 app-i18n/ibus-libpinyin: version bump to 1.9.0.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-i18n/ibus-libpinyin/Manifest | 1 +
13 .../ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild | 53 ++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest
17 index ea2856c2e1b..7a9bd2b5d13 100644
18 --- a/app-i18n/ibus-libpinyin/Manifest
19 +++ b/app-i18n/ibus-libpinyin/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ibus-libpinyin-1.6.92.tar.gz 1686249 SHA256 e611cff47b84345e1f60b8e94f74811bcfdf53b6ef7436b5cb5aff47eea743a3 SHA512 b4af0083c9c1dd4273c75372acf5d74ce317effdf56d8a0de8a3e3cd24f40b1b2dba91786d0a1cd72c9d7867b9ae630c4f69b04b378529dca8be0869e91d322d WHIRLPOOL 5dd8493bbbaa0f3d189a825bd4237a56276e88b8da91e75c1e3d49c1c1b2050ee2f9aaa4524ea00418690d8ff2085d6b6f686e60752e838f2515ca9d780347ef
22 DIST ibus-libpinyin-1.7.4.tar.gz 1692228 SHA256 4627eab10ded24bd1a95ee56a2f7bd6a82deb94435aea674267fc40febd66f81 SHA512 d94f495e74650830f759889112df8b749d6e28192ed866f6bd132b16e16cda59d97aabc2762596bbe337a3deeb30ccd680ad370c28c1932ab05c6a40d8e1c265 WHIRLPOOL 1227c7f96565c001a90bced8aa4f847cfbe9bfae6810641e76472c437a29cdb539d2b316add9850270fa4eb2436761375f9d436749c8f06a573206ddba02064c
23 +DIST ibus-libpinyin-1.9.0.tar.gz 1692442 SHA256 c8ec2450cec6f11870982b0130293dc967632631077029ca76c27ef349189e3e SHA512 cf90fd5233ca7a77d45b69efc76a211ff69895eed09998bec09b362f6b67a91687510144f55ee67e31897ee81c47e86e2e1258ee1771bae1f04d8aa398b13e1e WHIRLPOOL cb4a5cb645b2a0126f1d44452813021d3dc6b484e3f07f2a1bf5370b475103f0bf86a91576620ac038342dccf1d3f21da220a457b926c61329dc1e718e7f4c15
24
25 diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild
26 new file mode 100644
27 index 00000000000..0da5f0766b7
28 --- /dev/null
29 +++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
37 +PYTHON_REQ_USE="sqlite(+)"
38 +
39 +inherit autotools gnome2-utils python-single-r1
40 +
41 +DESCRIPTION="Intelligent Pinyin engine based on libpinyin for IBus"
42 +HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin"
43 +SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="boost lua opencc"
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +RDEPEND="${PYTHON_DEPS}
52 + app-i18n/ibus[python(+),${PYTHON_USEDEP}]
53 + >=app-i18n/libpinyin-1.9.91
54 + dev-python/pygobject:3[${PYTHON_USEDEP}]
55 + boost? ( dev-libs/boost:= )
56 + lua? ( dev-lang/lua:0 )
57 + opencc? ( app-i18n/opencc )"
58 +
59 +DEPEND="${RDEPEND}
60 + virtual/libintl
61 + virtual/pkgconfig"
62 +
63 +src_prepare() {
64 + default
65 + sed -i "s/python/${EPYTHON}/" setup/ibus-setup-libpinyin.in || die
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + econf \
71 + --enable-english-input-mode \
72 + $(use_enable boost) \
73 + $(use_enable lua lua-extension) \
74 + $(use_enable opencc)
75 +}
76 +
77 +pkg_postinst() {
78 + gnome2_icon_cache_update
79 +}
80 +
81 +pkg_postrm() {
82 + gnome2_icon_cache_update
83 +}