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-rime/
Date: Mon, 23 Oct 2017 17:25:05
Message-Id: 1508779482.a83f2edc68355376106c96a88e604d417a2c6393.floppym@gentoo
1 commit: a83f2edc68355376106c96a88e604d417a2c6393
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Oct 19 20:52:30 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=a83f2edc
7
8 app-i18n/fcitx-rime: Add live ebuild.
9
10 app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild | 50 ++++++++++++++++++++++++++++
11 1 file changed, 50 insertions(+)
12
13 diff --git a/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild b/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild
14 new file mode 100644
15 index 00000000000..35443f12a6e
16 --- /dev/null
17 +++ b/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild
18 @@ -0,0 +1,50 @@
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-rime"
30 +fi
31 +
32 +DESCRIPTION="Chinese RIME input method for Fcitx"
33 +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-rime"
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/librime-1.0.0:=
47 + app-i18n/rime-data
48 + virtual/libintl"
49 +DEPEND="${RDEPEND}
50 + virtual/pkgconfig"
51 +
52 +DOCS=()
53 +
54 +src_configure() {
55 + local mycmakeargs=(
56 + -DRIME_DATA_DIR="${EPREFIX}/usr/share/rime-data"
57 + )
58 +
59 + cmake-utils_src_configure
60 +}
61 +
62 +pkg_postinst() {
63 + gnome2_icon_cache_update
64 +}
65 +
66 +pkg_postrm() {
67 + gnome2_icon_cache_update
68 +}