93 BuildRequires: pkgconfig(gtk+-unix-print-3.0) |
93 BuildRequires: pkgconfig(gtk+-unix-print-3.0) |
94 BuildRequires: pkgconfig(libffi) |
94 BuildRequires: pkgconfig(libffi) |
95 BuildRequires: pkgconfig(libpulse) |
95 BuildRequires: pkgconfig(libpulse) |
96 %if 0%{?suse_version} > 1320 |
96 %if 0%{?suse_version} > 1320 |
97 BuildRequires: llvm-clang-devel >= 3.9.0 |
97 BuildRequires: llvm-clang-devel >= 3.9.0 |
|
98 %else |
|
99 # this covers the workaround to compile on Leap 42 in OBS |
|
100 BuildRequires: clang4-devel |
98 %endif |
101 %endif |
99 # libavcodec is required for H.264 support but the |
102 # libavcodec is required for H.264 support but the |
100 # openSUSE version is currently not able to play H.264 |
103 # openSUSE version is currently not able to play H.264 |
101 # therefore the Packman version is required |
104 # therefore the Packman version is required |
102 # minimum version of libavcodec is 53 |
105 # minimum version of libavcodec is 53 |
141 # please get your own set of keys. |
144 # please get your own set of keys. |
142 Source18: mozilla-api-key |
145 Source18: mozilla-api-key |
143 Source19: google-api-key |
146 Source19: google-api-key |
144 # Gecko/Toolkit |
147 # Gecko/Toolkit |
145 Patch1: mozilla-nongnome-proxies.patch |
148 Patch1: mozilla-nongnome-proxies.patch |
146 Patch3: mozilla-kde.patch |
149 Patch2: mozilla-kde.patch |
147 Patch5: mozilla-language.patch |
150 Patch3: mozilla-ntlm-full-path.patch |
148 Patch6: mozilla-ntlm-full-path.patch |
151 Patch4: mozilla-openaes-decl.patch |
149 Patch7: mozilla-openaes-decl.patch |
152 Patch5: mozilla-no-stdcxx-check.patch |
150 Patch8: mozilla-no-stdcxx-check.patch |
153 Patch6: mozilla-reduce-files-per-UnifiedBindings.patch |
151 Patch9: mozilla-reduce-files-per-UnifiedBindings.patch |
154 Patch7: mozilla-aarch64-startup-crash.patch |
152 Patch10: mozilla-aarch64-startup-crash.patch |
155 Patch8: mozilla-bindgen-systemlibs.patch |
153 Patch11: mozilla-ucontext.patch |
|
154 # Firefox/browser |
156 # Firefox/browser |
155 Patch101: firefox-kde.patch |
157 Patch101: firefox-kde.patch |
156 Patch102: firefox-no-default-ualocale.patch |
158 Patch102: firefox-no-default-ualocale.patch |
157 Patch103: firefox-branded-icons.patch |
159 Patch103: firefox-branded-icons.patch |
158 |
160 |
355 ac_add_options --enable-startup-notification |
356 ac_add_options --enable-startup-notification |
356 #ac_add_options --enable-chrome-format=jar |
357 #ac_add_options --enable-chrome-format=jar |
357 ac_add_options --enable-update-channel=%{update_channel} |
358 ac_add_options --enable-update-channel=%{update_channel} |
358 ac_add_options --with-mozilla-api-keyfile=%{SOURCE18} |
359 ac_add_options --with-mozilla-api-keyfile=%{SOURCE18} |
359 ac_add_options --with-google-api-keyfile=%{SOURCE19} |
360 ac_add_options --with-google-api-keyfile=%{SOURCE19} |
360 %if 0%{?suse_version} <= 1320 |
|
361 ac_add_options --disable-stylo |
|
362 %endif |
|
363 %if %branding |
361 %if %branding |
364 ac_add_options --enable-official-branding |
362 ac_add_options --enable-official-branding |
365 %endif |
363 %endif |
366 ac_add_options --enable-libproxy |
364 ac_add_options --enable-libproxy |
367 %if ! %crashreporter |
365 %if ! %crashreporter |