equal
deleted
inserted
replaced
19 |
19 |
20 %define major 29 |
20 %define major 29 |
21 %define mainver %major.98 |
21 %define mainver %major.98 |
22 %define update_channel aurora |
22 %define update_channel aurora |
23 |
23 |
24 %if %suse_version > 1220 |
24 %if %suse_version > 1210 |
|
25 %if %suse_version > 1310 |
|
26 %define gstreamer_ver 1.0 |
|
27 %define gstreamer 1 |
|
28 %else |
25 %define gstreamer_ver 0.10 |
29 %define gstreamer_ver 0.10 |
26 %else |
30 %endif |
27 %define gstreamer_ver 1.0 |
|
28 %endif |
31 %endif |
29 |
32 |
30 Name: MozillaFirefox |
33 Name: MozillaFirefox |
31 BuildRequires: Mesa-devel |
34 BuildRequires: Mesa-devel |
32 BuildRequires: autoconf213 |
35 BuildRequires: autoconf213 |
57 BuildRequires: pkgconfig(libpulse) |
60 BuildRequires: pkgconfig(libpulse) |
58 %if %suse_version > 1210 |
61 %if %suse_version > 1210 |
59 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
62 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
60 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
63 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
61 BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) |
64 BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) |
62 Requires: libgstreamer-1_0 |
65 %if 0%{?gstreamer} == 1 |
|
66 Requires: libgstreamer-1_0-0 |
63 Recommends: gstreamer-fluendo-mp3 |
67 Recommends: gstreamer-fluendo-mp3 |
64 #Recommends: gstreamer-0_10-plugins-ffmpeg |
68 Recommends: gstreamer-plugin-libav |
|
69 %else |
|
70 Requires: libgstreamer-0_10-0 |
|
71 Recommends: gstreamer-0_10-fluendo-mp3 |
|
72 Recommends: gstreamer-0_10-plugins-ffmpeg |
|
73 %endif |
65 %endif |
74 %endif |
66 Version: %{mainver} |
75 Version: %{mainver} |
67 Release: 0 |
76 Release: 0 |
68 %define releasedate 2014041700 |
77 %define releasedate 2014041700 |
69 Provides: firefox = %{mainver} |
78 Provides: firefox = %{mainver} |
146 ### build options |
155 ### build options |
147 # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys |
156 # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys |
148 # Note: these are for the openSUSE Firefox builds ONLY. For your own distribution, |
157 # Note: these are for the openSUSE Firefox builds ONLY. For your own distribution, |
149 # please get your own set of keys. |
158 # please get your own set of keys. |
150 %define _google_api_key AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q |
159 %define _google_api_key AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q |
151 %define branding 1 |
160 %define branding 0 |
152 %define localize 1 |
161 %define localize 1 |
153 %ifarch aarch64 ppc ppc64 ppc64le s390 s390x ia64 %arm |
162 %ifarch aarch64 ppc ppc64 ppc64le s390 s390x ia64 %arm |
154 %define crashreporter 0 |
163 %define crashreporter 0 |
155 %else |
164 %else |
156 %define crashreporter 1 |
165 %define crashreporter 1 |
318 ac_add_options --disable-tests |
327 ac_add_options --disable-tests |
319 ac_add_options --disable-debug |
328 ac_add_options --disable-debug |
320 ac_add_options --enable-startup-notification |
329 ac_add_options --enable-startup-notification |
321 #ac_add_options --enable-chrome-format=jar |
330 #ac_add_options --enable-chrome-format=jar |
322 ac_add_options --enable-update-channel=%{update_channel} |
331 ac_add_options --enable-update-channel=%{update_channel} |
|
332 %if 0%{?gstreamer} == 1 |
|
333 ac_add_options --enable-gstreamer=1.0 |
|
334 %endif |
323 %if %suse_version > 1130 |
335 %if %suse_version > 1130 |
324 ac_add_options --disable-gnomevfs |
336 ac_add_options --disable-gnomevfs |
325 ac_add_options --enable-gio |
337 ac_add_options --enable-gio |
326 %endif |
338 %endif |
327 %if %suse_version < 1220 |
339 %if %suse_version < 1220 |