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-sunpinyin/
Date: Mon, 23 Oct 2017 17:25:07
Message-Id: 1508779482.2617a47340d7f62c31d7a061783b37188eb55425.floppym@gentoo
1 commit: 2617a47340d7f62c31d7a061783b37188eb55425
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Oct 19 20:55:39 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 23 17:24:42 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2617a473
7
8 app-i18n/fcitx-sunpinyin: Add live ebuild.
9
10 .../fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild | 41 ++++++++++++++++++++++
11 1 file changed, 41 insertions(+)
12
13 diff --git a/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild
14 new file mode 100644
15 index 00000000000..20c11e0aec3
16 --- /dev/null
17 +++ b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild
18 @@ -0,0 +1,41 @@
19 +# Copyright 1999-2017 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI="6"
23 +
24 +inherit cmake-utils gnome2-utils
25 +
26 +if [[ "${PV}" =~ (^|\.)9999$ ]]; then
27 + inherit git-r3
28 +
29 + EGIT_REPO_URI="https://github.com/fcitx/fcitx-sunpinyin"
30 +fi
31 +
32 +DESCRIPTION="Chinese SunPinyin input method for Fcitx"
33 +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-sunpinyin"
34 +if [[ "${PV}" =~ (^|\.)9999$ ]]; then
35 + SRC_URI=""
36 +else
37 + SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
38 +fi
39 +
40 +LICENSE="GPL-2+"
41 +SLOT="4"
42 +KEYWORDS=""
43 +IUSE=""
44 +
45 +RDEPEND=">=app-i18n/fcitx-4.2.9:4
46 + >=app-i18n/sunpinyin-2.0.4_alpha:=
47 + virtual/libintl"
48 +DEPEND="${RDEPEND}
49 + virtual/pkgconfig"
50 +
51 +DOCS=(AUTHORS)
52 +
53 +pkg_postinst() {
54 + gnome2_icon_cache_update
55 +}
56 +
57 +pkg_postrm() {
58 + gnome2_icon_cache_update
59 +}