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