30 |
|
|
31 |
%define _use_syshunspell 1 |
%define _use_syshunspell 1 |
32 |
|
|
33 |
%define release %mkrel 3 |
%define release %mkrel 4 |
34 |
|
|
35 |
%define update_channel esr17 |
%define update_channel esr17 |
36 |
|
|
63 |
Patch12: mozilla-kde.patch |
Patch12: mozilla-kde.patch |
64 |
Patch13: firefox-13-fix-nspr-include.patch |
Patch13: firefox-13-fix-nspr-include.patch |
65 |
Patch14: firefox-13-fix-cairo-build.patch |
Patch14: firefox-13-fix-cairo-build.patch |
66 |
Patch34: xulrunner_nojit.patch |
Patch34: Bug-814693-Allow-webrtc-to-build-on-more-architectur.patch |
67 |
# (cjw) use system virtualenv |
# (cjw) use system virtualenv |
68 |
Patch36: iceape-2.12-system-virtualenv.patch |
Patch36: iceape-2.12-system-virtualenv.patch |
69 |
Patch37: firefox-17.0-nss-version.patch |
Patch37: firefox-17.0-nss-version.patch |
171 |
%patch11 -p1 -b .kde |
%patch11 -p1 -b .kde |
172 |
%patch12 -p1 -b .kdemoz |
%patch12 -p1 -b .kdemoz |
173 |
|
|
174 |
%ifarch %arm |
|
175 |
%if "%{_target_cpu}" != "armv7l" |
%patch34 -p1 -b .webrtc |
|
%patch34 -p1 |
|
|
%endif |
|
|
%endif |
|
176 |
%patch36 -p2 -b .system-virtualenv |
%patch36 -p2 -b .system-virtualenv |
177 |
%patch37 -p0 |
%patch37 -p0 |
178 |
|
|
229 |
%ifarch %arm |
%ifarch %arm |
230 |
%if "%{_target_cpu}" != "armv7l" |
%if "%{_target_cpu}" != "armv7l" |
231 |
ac_add_options --disable-methodjit |
ac_add_options --disable-methodjit |
|
ac_add_options --disable-tracejit |
|
232 |
%endif |
%endif |
233 |
ac_add_options --enable-system-ffi |
ac_add_options --enable-system-ffi |
234 |
%endif |
%endif |
236 |
ac_add_options --with-valgrind |
ac_add_options --with-valgrind |
237 |
ac_add_options --with-java-include-path=%{java_home}/include |
ac_add_options --with-java-include-path=%{java_home}/include |
238 |
ac_add_options --with-java-bin-path=%{java_home}/bin |
ac_add_options --with-java-bin-path=%{java_home}/bin |
|
ac_add_options --enable-opus |
|
239 |
%endif |
%endif |
240 |
|
ac_add_options --enable-opus |
241 |
|
|
242 |
EOF |
EOF |
243 |
|
|
244 |
%__perl -p -i -e 's|\-0|\-9|g' config/make-jars.pl |
%__perl -p -i -e 's|\-0|\-9|g' config/make-jars.pl |
245 |
|
%ifarch %arm |
246 |
|
export CFLAGS="-D__ARM_PCS $(echo %{optflags})" |
247 |
|
export CXXFLAGS="$CFLAGS" |
248 |
|
%endif |
249 |
export LDFLAGS="%ldflags" |
export LDFLAGS="%ldflags" |
250 |
make -f client.mk build |
make -f client.mk build |
251 |
|
|