Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-libpinyin/
Date: Tue, 22 Aug 2017 14:21:41
Message-Id: 1503411616.d2c7c6eddfda15f34c511ae1407ae2225105fe43.floppym@gentoo
1 commit: d2c7c6eddfda15f34c511ae1407ae2225105fe43
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Tue Aug 22 13:02:19 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 22 14:20:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c7c6ed
7
8 app-i18n/fcitx-libpinyin: Version bump (0.5.1).
9
10 app-i18n/fcitx-libpinyin/Manifest | 1 +
11 .../fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild | 58 ++++++++++++++++++++++
12 2 files changed, 59 insertions(+)
13
14 diff --git a/app-i18n/fcitx-libpinyin/Manifest b/app-i18n/fcitx-libpinyin/Manifest
15 index 2173172d238..d2e50d9752d 100644
16 --- a/app-i18n/fcitx-libpinyin/Manifest
17 +++ b/app-i18n/fcitx-libpinyin/Manifest
18 @@ -1,3 +1,4 @@
19 DIST fcitx-libpinyin-0.2.1_dict.tar.xz 10007544 SHA256 1ec33b2c56f98079fa5383b5fffcbe095ec64ffaa07eefebbc5d609136a2fab8 SHA512 7e446ac1e07301d6671f3de1059d099237aeeb46fdb9f68fce40a205cdcb17542345334b13f45b19f356743f92601492d178e6e2d578567c2506bed9c808ccbd WHIRLPOOL 598341a001d4cbb544bf3e3fc4449b1a323fc9ae6d3fc5fe8217b9a15bc2db22fb937e61bae32b3420a6b33d235368d6bd31fecfd1a845d1edd3acda320cb6f3
20 DIST fcitx-libpinyin-0.3.1_dict.tar.xz 15143832 SHA256 0b553c90d37c36e82ad692803519cb3cf82ae3597ed2f74b1f5251e942c272ae SHA512 3b7501a75dab2f5b83541c71ccac93709f3354f390f322d7b95e4b94e0c4dc6963522759ab52eb77203d787d6d14d3ce1c838dd92ecd0db041a3b7a25008eaa4 WHIRLPOOL 1f655dc2a4439b8ff0583fa88f3d75f2472a8abdeff9132a98d242f2007d3abaf582f8ae31ec18ef693754bdf29788a37f4dda96bd1777d6a43eb1ac8eb6c194
21 DIST fcitx-libpinyin-0.3.3_dict.tar.xz 15145448 SHA256 cac02fb2ac19d9072d58e2d9383297e21942caf71b528aee8fa36c55c899d1e1 SHA512 1d77bb0a73ef2f94058ad8f991c628097c87b0ea9c7c4480d23c972ff20ea8ea2653113c8100f1611911606fe84a470650e1a2e9cc6d596d3e80960bb00900c2 WHIRLPOOL ea9f470a92ad55fbdc561d0df1ba51414c716fac158c8db28cccd18d2f106339ee8dc9eba03067f2473289f485dd1118ffedee6ea5b0fbcd0517f6ef5e68abb8
22 +DIST fcitx-libpinyin-0.5.1_dict.tar.xz 15147796 SHA256 9464ff6bcff8ff5f89059845a26ece5fe2659b66f65fd0c4a092ee818752adc7 SHA512 85d26e5c036f5fb82005c677d8924e68236f52fab2ddf0e19472e84ca4ae66d9e8e7ec7a84cc7b7cb1da796df2e51f267336640b7957b5caf91ea13e273da411 WHIRLPOOL 676d9f71e2daf76a2b7677f381b32adb28cf3c4034ba949008b95b0fd9df9cd55ec5dfd86a3ae289e86b7e0758d72586e5d6e93267309e49ed1b2627dadb4ec7
23
24 diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild
25 new file mode 100644
26 index 00000000000..abc1b717a0c
27 --- /dev/null
28 +++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="6"
34 +
35 +inherit cmake-utils gnome2-utils
36 +
37 +if [[ "${PV}" == "9999" ]]; then
38 + inherit git-r3
39 +
40 + EGIT_REPO_URI="https://github.com/fcitx/fcitx-libpinyin"
41 +fi
42 +
43 +DESCRIPTION="Chinese LibPinyin input methods for Fcitx"
44 +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-libpinyin"
45 +if [[ "${PV}" == "9999" ]]; then
46 + SRC_URI=""
47 +else
48 + SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
49 +fi
50 +
51 +LICENSE="GPL-2+ GPL-3+"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
54 +IUSE="dictmanager"
55 +
56 +RDEPEND=">=app-i18n/fcitx-4.2.8
57 + >=app-i18n/libpinyin-1.9.91:=
58 + dev-libs/glib:2
59 + sys-apps/dbus
60 + virtual/libintl
61 + dictmanager? (
62 + >=app-i18n/fcitx-qt5-1.1
63 + >=dev-qt/qtcore-5.7:5
64 + >=dev-qt/qtdbus-5.7:5
65 + >=dev-qt/qtgui-5.7:5
66 + >=dev-qt/qtnetwork-5.7:5
67 + >=dev-qt/qtwebengine-5.7:5[widgets]
68 + >=dev-qt/qtwidgets-5.7:5
69 + )"
70 +DEPEND="${RDEPEND}
71 + virtual/pkgconfig"
72 +
73 +src_configure() {
74 + local mycmakeargs=(
75 + -DENABLE_QT=$(usex dictmanager)
76 + )
77 +
78 + cmake-utils_src_configure
79 +}
80 +
81 +pkg_postinst() {
82 + gnome2_icon_cache_update
83 +}
84 +
85 +pkg_postrm() {
86 + gnome2_icon_cache_update
87 +}