1 |
commit: 28d67befb9e7d7cc25430acc3dc50b22685872e9 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Thu Oct 13 07:24:23 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 13 16:08:18 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d67bef |
7 |
|
8 |
app-i18n/fcitx-unikey: Add live ebuild. |
9 |
|
10 |
app-i18n/fcitx-unikey/fcitx-unikey-9999.ebuild | 59 ++++++++++++++++++++++++++ |
11 |
1 file changed, 59 insertions(+) |
12 |
|
13 |
diff --git a/app-i18n/fcitx-unikey/fcitx-unikey-9999.ebuild b/app-i18n/fcitx-unikey/fcitx-unikey-9999.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000..cb36531 |
16 |
--- /dev/null |
17 |
+++ b/app-i18n/fcitx-unikey/fcitx-unikey-9999.ebuild |
18 |
@@ -0,0 +1,59 @@ |
19 |
+# Copyright 1999-2016 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI="6" |
24 |
+ |
25 |
+inherit cmake-utils gnome2-utils |
26 |
+ |
27 |
+if [[ "${PV}" == "9999" ]]; then |
28 |
+ inherit git-r3 |
29 |
+ |
30 |
+ EGIT_REPO_URI="https://github.com/fcitx/fcitx-unikey" |
31 |
+fi |
32 |
+ |
33 |
+DESCRIPTION="Vietnamese Unikey input methods for Fcitx" |
34 |
+HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-unikey" |
35 |
+if [[ "${PV}" == "9999" ]]; then |
36 |
+ SRC_URI="" |
37 |
+else |
38 |
+ SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz" |
39 |
+fi |
40 |
+ |
41 |
+LICENSE="GPL-2+ GPL-3+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="" |
44 |
+IUSE="+macro-editor" |
45 |
+ |
46 |
+RDEPEND=">=app-i18n/fcitx-4.2.8 |
47 |
+ virtual/libintl |
48 |
+ macro-editor? ( |
49 |
+ >=app-i18n/fcitx-4.2.8[qt4] |
50 |
+ dev-qt/qtcore:4 |
51 |
+ dev-qt/qtgui:4 |
52 |
+ )" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ sys-devel/gettext |
55 |
+ virtual/pkgconfig" |
56 |
+ |
57 |
+DOCS=() |
58 |
+ |
59 |
+src_configure() { |
60 |
+ local mycmakeargs=( |
61 |
+ -DENABLE_QT=$(usex macro-editor) |
62 |
+ ) |
63 |
+ |
64 |
+ cmake-utils_src_configure |
65 |
+} |
66 |
+ |
67 |
+pkg_preinst() { |
68 |
+ gnome2_icon_savelist |
69 |
+} |
70 |
+ |
71 |
+pkg_postinst() { |
72 |
+ gnome2_icon_cache_update |
73 |
+} |
74 |
+ |
75 |
+pkg_postrm() { |
76 |
+ gnome2_icon_cache_update |
77 |
+} |