1 |
commit: bbd8562b4806125dfcb7552a582e938167dcef93 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Tue Sep 26 22:16:05 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 27 19:56:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd8562b |
7 |
|
8 |
app-i18n/fcitx-libpinyin: Version bump (0.5.3). |
9 |
|
10 |
app-i18n/fcitx-libpinyin/Manifest | 1 + |
11 |
.../fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild | 68 ++++++++++++++++++++++ |
12 |
2 files changed, 69 insertions(+) |
13 |
|
14 |
diff --git a/app-i18n/fcitx-libpinyin/Manifest b/app-i18n/fcitx-libpinyin/Manifest |
15 |
index bb9e3a40cd2..c83d8477ceb 100644 |
16 |
--- a/app-i18n/fcitx-libpinyin/Manifest |
17 |
+++ b/app-i18n/fcitx-libpinyin/Manifest |
18 |
@@ -4,3 +4,4 @@ DIST fcitx-libpinyin-0.3.1_dict.tar.xz 15143832 SHA256 0b553c90d37c36e82ad692803 |
19 |
DIST fcitx-libpinyin-0.3.3_dict.tar.xz 15145448 SHA256 cac02fb2ac19d9072d58e2d9383297e21942caf71b528aee8fa36c55c899d1e1 SHA512 1d77bb0a73ef2f94058ad8f991c628097c87b0ea9c7c4480d23c972ff20ea8ea2653113c8100f1611911606fe84a470650e1a2e9cc6d596d3e80960bb00900c2 WHIRLPOOL ea9f470a92ad55fbdc561d0df1ba51414c716fac158c8db28cccd18d2f106339ee8dc9eba03067f2473289f485dd1118ffedee6ea5b0fbcd0517f6ef5e68abb8 |
20 |
DIST fcitx-libpinyin-0.5.1_dict.tar.xz 15147796 SHA256 9464ff6bcff8ff5f89059845a26ece5fe2659b66f65fd0c4a092ee818752adc7 SHA512 85d26e5c036f5fb82005c677d8924e68236f52fab2ddf0e19472e84ca4ae66d9e8e7ec7a84cc7b7cb1da796df2e51f267336640b7957b5caf91ea13e273da411 WHIRLPOOL 676d9f71e2daf76a2b7677f381b32adb28cf3c4034ba949008b95b0fd9df9cd55ec5dfd86a3ae289e86b7e0758d72586e5d6e93267309e49ed1b2627dadb4ec7 |
21 |
DIST fcitx-libpinyin-0.5.2_dict.tar.xz 15149780 SHA256 26e916d39db952901c95d97d8a6bd22f0a2dd004549553f58562dec04823f66f SHA512 9ff0d55d78f6ef7967df685c494351bc61ee3f6b47924cf265c781bb7ec2d109ddc92f310b65315f4ccbca8e65eb21fa410fb0b255eec52bb3247dc7e5e04368 WHIRLPOOL d9577baa908a7a14d6d70f9fc213f8e85af671aacbd8b9cdd5fabc77b965c03be8fb5acca93df25657739e5667e3ad211782d9a203d05e45eaf913d313982d3d |
22 |
+DIST fcitx-libpinyin-0.5.3_dict.tar.xz 15149856 SHA256 fccd408b9fad8becebf7f736e3309e775d045d6383742892385b69be91f89b4c SHA512 d132e0c007bd62286cfa89f6605a5315b6f5ae94a75bdd389fff1061e1547ad64c615fb0b75189d8cf35fa289a53e5d485911e06e368b2bf3af7b5a996fcd08a WHIRLPOOL 0bd75c39e148056bce90ddaff9e949b9d43093f56ec80ca0b972e40a005da8f39e481726af9d4fef993149c50287af2069fc27ae9bc3493fd7a4523f2569f6ff |
23 |
|
24 |
diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8e48769ebe3 |
27 |
--- /dev/null |
28 |
+++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild |
29 |
@@ -0,0 +1,68 @@ |
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="https://download.fcitx-im.org/data/model.text.20161206.tar.gz -> fcitx-data-model.text.20161206.tar.gz" |
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="4" |
53 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
54 |
+IUSE="dictionary-manager" |
55 |
+ |
56 |
+RDEPEND=">=app-i18n/fcitx-4.2.9:4 |
57 |
+ >=app-i18n/libpinyin-2.1.0:= |
58 |
+ dev-libs/glib:2 |
59 |
+ sys-apps/dbus |
60 |
+ virtual/libintl |
61 |
+ dictionary-manager? ( |
62 |
+ >=app-i18n/fcitx-qt5-1.1:4 |
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 |
+DOCS=(AUTHORS) |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
77 |
+ ln -s "${DISTDIR}/fcitx-data-model.text.20161206.tar.gz" data/model.text.20161206.tar.gz || die |
78 |
+ fi |
79 |
+ |
80 |
+ cmake-utils_src_prepare |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ local mycmakeargs=( |
85 |
+ -DENABLE_QT=$(usex dictionary-manager) |
86 |
+ ) |
87 |
+ |
88 |
+ cmake-utils_src_configure |
89 |
+} |
90 |
+ |
91 |
+pkg_postinst() { |
92 |
+ gnome2_icon_cache_update |
93 |
+} |
94 |
+ |
95 |
+pkg_postrm() { |
96 |
+ gnome2_icon_cache_update |
97 |
+} |