1 |
commit: 88095a7c119befaa9f80b439c38787ec285c278c |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 14:48:02 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 1 14:48:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88095a7c |
7 |
|
8 |
app-i18n/ibus: new upstream release |
9 |
|
10 |
Gentoo-Bug: 626768 |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
app-i18n/ibus/Manifest | 1 + |
15 |
app-i18n/ibus/ibus-1.5.16.ebuild | 184 +++++++++++++++++++++++++++++++++++++++ |
16 |
app-i18n/ibus/metadata.xml | 1 + |
17 |
3 files changed, 186 insertions(+) |
18 |
|
19 |
diff --git a/app-i18n/ibus/Manifest b/app-i18n/ibus/Manifest |
20 |
index f12243f7cc1..8e79eb6aee5 100644 |
21 |
--- a/app-i18n/ibus/Manifest |
22 |
+++ b/app-i18n/ibus/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST ibus-1.5.12.tar.gz 2190284 SHA256 e24da95995f4aca5b96359eaba709487dc5ad4c732e9b01b9bcf9fb34be2442c SHA512 a443bf0d1b71a52c18e7d13a0c69f38c48f6924cfb1669912880b87be1bf41bcb7d8d6252aafd6799e43d41c081fd94cf334fd836a0505c93a4e5c5b68241c81 WHIRLPOOL 82354fc5006a0abe4cb431dda90a67dc1b775f0bac521b481eaeb7acd167ba6179cad14045c5141c57618845589094613bc489357ee8bf550f131ecfb1bf8293 |
25 |
DIST ibus-1.5.15.tar.gz 2259352 SHA256 41f7baad6f3aac0cdfaebef674a8731ae47950f140edfbeefebaeed78c93e385 SHA512 4e588acf2ca0172b365630dcfe2d9062e7583e50a44d435ec05c8e3976c6caf54c4708733f1f7dce5ef7724254469ee5c7ab3b086f0cbea18775c894863b0c3e WHIRLPOOL ba40cfe9f398963ce6122d4beabdccaa94c6ac7a7463fe3cea3dc967b19a4702996fd132372a167a02956e1340b4278c61ea19ed781203db33a4651ddd3824b1 |
26 |
+DIST ibus-1.5.16.tar.gz 2375719 SHA256 36b57bfbe4f92e3281fb535cae65794b6f25164b2a3288e73e6d06b4a409fe1e SHA512 494ead69cf9c0111fd25fd1de27e796d89db4f08443afa1ec469f638469b25d8b19a59ea7ab0db0f3a130b9a89b3f2819667099ba38fc973d6efc61b367ce237 WHIRLPOOL 08fdab9971f2723b5cbacd0a5f3c6ab6c13ff8111abe2bdceab26113f304b20af38403313fa9819838e37805473489d629d3530ba1fc9739f2db991a85b89de7 |
27 |
|
28 |
diff --git a/app-i18n/ibus/ibus-1.5.16.ebuild b/app-i18n/ibus/ibus-1.5.16.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..8d1969cbf45 |
31 |
--- /dev/null |
32 |
+++ b/app-i18n/ibus/ibus-1.5.16.ebuild |
33 |
@@ -0,0 +1,184 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI="6" |
38 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
39 |
+VALA_USE_DEPEND="vapigen" |
40 |
+ |
41 |
+inherit autotools bash-completion-r1 gnome2-utils ltprune python-r1 vala virtualx |
42 |
+ |
43 |
+DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
44 |
+HOMEPAGE="https://github.com/ibus/ibus/wiki" |
45 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="+emoji gconf +gtk +gtk2 +introspection kde +libnotify nls +python test vala wayland +X" |
51 |
+REQUIRED_USE="emoji? ( gtk ) |
52 |
+ kde? ( gtk ) |
53 |
+ libnotify? ( gtk ) |
54 |
+ python? ( |
55 |
+ ${PYTHON_REQUIRED_USE} |
56 |
+ gtk |
57 |
+ introspection |
58 |
+ ) |
59 |
+ test? ( gtk ) |
60 |
+ vala? ( introspection )" |
61 |
+ |
62 |
+CDEPEND="app-text/iso-codes |
63 |
+ dev-libs/glib:2 |
64 |
+ gnome-base/dconf |
65 |
+ gnome-base/librsvg:2 |
66 |
+ sys-apps/dbus[X?] |
67 |
+ gconf? ( gnome-base/gconf:2 ) |
68 |
+ gtk? ( |
69 |
+ x11-libs/gtk+:3 |
70 |
+ x11-libs/libX11 |
71 |
+ x11-libs/libXi |
72 |
+ gtk2? ( x11-libs/gtk+:2 ) |
73 |
+ ) |
74 |
+ introspection? ( dev-libs/gobject-introspection ) |
75 |
+ kde? ( dev-qt/qtgui:5 ) |
76 |
+ libnotify? ( x11-libs/libnotify ) |
77 |
+ nls? ( virtual/libintl ) |
78 |
+ python? ( |
79 |
+ ${PYTHON_DEPS} |
80 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
81 |
+ ) |
82 |
+ wayland? ( |
83 |
+ dev-libs/wayland |
84 |
+ x11-libs/libxkbcommon |
85 |
+ ) |
86 |
+ X? ( |
87 |
+ || ( |
88 |
+ x11-libs/gtk+:3 |
89 |
+ x11-libs/gtk+:2 |
90 |
+ ) |
91 |
+ x11-libs/libX11 |
92 |
+ )" |
93 |
+RDEPEND="${CDEPEND} |
94 |
+ python? ( |
95 |
+ gtk? ( |
96 |
+ x11-libs/gtk+:3[introspection] |
97 |
+ ) |
98 |
+ )" |
99 |
+DEPEND="${CDEPEND} |
100 |
+ $(vala_depend) |
101 |
+ dev-util/intltool |
102 |
+ virtual/pkgconfig |
103 |
+ emoji? ( |
104 |
+ app-i18n/unicode-cldr |
105 |
+ app-i18n/unicode-emoji |
106 |
+ ) |
107 |
+ nls? ( sys-devel/gettext )" |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ vala_src_prepare --ignore-use |
111 |
+ if ! use emoji; then |
112 |
+ touch \ |
113 |
+ tools/main.vala \ |
114 |
+ ui/gtk3/panel.vala |
115 |
+ fi |
116 |
+ if ! use kde; then |
117 |
+ touch ui/gtk3/panel.vala |
118 |
+ fi |
119 |
+ if ! use libnotify; then |
120 |
+ touch ui/gtk3/panel.vala |
121 |
+ fi |
122 |
+ # for multiple Python implementations |
123 |
+ sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am |
124 |
+ # fix for parallel install |
125 |
+ sed -i \ |
126 |
+ -e "/^py2_compile/,/^$/d" \ |
127 |
+ -e "/^install-data-hook/,/^$/d" \ |
128 |
+ bindings/pygobject/Makefile.am |
129 |
+ # require user interaction |
130 |
+ sed -i "/^TESTS += ibus-compose/d" src/tests/Makefile.am |
131 |
+ |
132 |
+ sed -i "/^bash_completion/d" tools/Makefile.am |
133 |
+ |
134 |
+ default |
135 |
+ eautoreconf |
136 |
+} |
137 |
+ |
138 |
+src_configure() { |
139 |
+ local unicodedir="${EPREFIX}"/usr/share/unicode |
140 |
+ local python_conf=() |
141 |
+ if use python; then |
142 |
+ python_setup |
143 |
+ python_conf+=( |
144 |
+ $(use_enable gtk setup) |
145 |
+ --with-python=${EPYTHON} |
146 |
+ ) |
147 |
+ else |
148 |
+ python_conf+=( --disable-setup ) |
149 |
+ fi |
150 |
+ |
151 |
+ econf \ |
152 |
+ $(use_enable emoji emoji-dict) \ |
153 |
+ $(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \ |
154 |
+ $(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \ |
155 |
+ $(use_enable gconf) \ |
156 |
+ $(use_enable gtk gtk3) \ |
157 |
+ $(use_enable gtk ui) \ |
158 |
+ $(use_enable gtk2) \ |
159 |
+ $(use_enable introspection) \ |
160 |
+ $(use_enable kde appindicator) \ |
161 |
+ $(use_enable libnotify) \ |
162 |
+ $(use_enable nls) \ |
163 |
+ $(use_enable test tests) \ |
164 |
+ $(use_enable vala) \ |
165 |
+ $(use_enable wayland) \ |
166 |
+ $(use_enable X xim) \ |
167 |
+ "${python_conf[@]}" |
168 |
+} |
169 |
+ |
170 |
+src_test() { |
171 |
+ unset DBUS_SESSION_BUS_ADDRESS |
172 |
+ virtx emake -j1 check |
173 |
+} |
174 |
+ |
175 |
+src_install() { |
176 |
+ default |
177 |
+ prune_libtool_files --modules |
178 |
+ |
179 |
+ if use python; then |
180 |
+ python_install() { |
181 |
+ emake -C bindings/pygobject \ |
182 |
+ pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \ |
183 |
+ DESTDIR="${D}" \ |
184 |
+ install |
185 |
+ } |
186 |
+ python_foreach_impl python_install |
187 |
+ fi |
188 |
+ |
189 |
+ keepdir /usr/share/ibus/engine |
190 |
+ |
191 |
+ newbashcomp tools/${PN}.bash ${PN} |
192 |
+ |
193 |
+ insinto /etc/X11/xinit/xinput.d |
194 |
+ newins xinput-${PN} ${PN}.conf |
195 |
+} |
196 |
+ |
197 |
+pkg_preinst() { |
198 |
+ use gconf && gnome2_gconf_savelist |
199 |
+ gnome2_icon_savelist |
200 |
+ gnome2_schemas_savelist |
201 |
+} |
202 |
+ |
203 |
+pkg_postinst() { |
204 |
+ use gconf && gnome2_gconf_install |
205 |
+ use gtk && gnome2_query_immodules_gtk3 |
206 |
+ use gtk2 && gnome2_query_immodules_gtk2 |
207 |
+ gnome2_icon_cache_update |
208 |
+ gnome2_schemas_update |
209 |
+ dconf update |
210 |
+} |
211 |
+ |
212 |
+pkg_postrm() { |
213 |
+ use gtk && gnome2_query_immodules_gtk3 |
214 |
+ use gtk2 && gnome2_query_immodules_gtk2 |
215 |
+ gnome2_icon_cache_update |
216 |
+ gnome2_schemas_update |
217 |
+} |
218 |
|
219 |
diff --git a/app-i18n/ibus/metadata.xml b/app-i18n/ibus/metadata.xml |
220 |
index 26fabe3ea17..11716b82309 100644 |
221 |
--- a/app-i18n/ibus/metadata.xml |
222 |
+++ b/app-i18n/ibus/metadata.xml |
223 |
@@ -11,6 +11,7 @@ |
224 |
also may help developers to develop input method easily. |
225 |
</longdescription> |
226 |
<use> |
227 |
+ <flag name="emoji">Enable support for Emoji</flag> |
228 |
<flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag> |
229 |
<flag name="gtk2">Enable support for <pkg>x11-libs/gtk+</pkg>:2</flag> |
230 |
</use> |