system jpeg - let's do it better
This commit is contained in:
parent
3d545d817e
commit
e0dccae91a
15
firefox.spec
15
firefox.spec
@ -25,6 +25,14 @@
|
|||||||
%define system_cairo 1
|
%define system_cairo 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# TODO Hack - FF does not support new jpeg turbo library
|
||||||
|
# mozbz#1093615
|
||||||
|
%if 0%{?fedora} > 21
|
||||||
|
%define system_jpeg 0
|
||||||
|
%else
|
||||||
|
%define system_jpeg 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%define enable_gstreamer 1
|
%define enable_gstreamer 1
|
||||||
|
|
||||||
# Separated plugins are supported on x86(64) only
|
# Separated plugins are supported on x86(64) only
|
||||||
@ -190,6 +198,9 @@ BuildRequires: libvpx-devel >= %{libvpx_version}
|
|||||||
BuildRequires: autoconf213
|
BuildRequires: autoconf213
|
||||||
BuildRequires: pulseaudio-libs-devel
|
BuildRequires: pulseaudio-libs-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
|
%if !%{?system_jpeg}
|
||||||
|
BuildRequires: yasm
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: mozilla-filesystem
|
Requires: mozilla-filesystem
|
||||||
%if %{?system_nss}
|
%if %{?system_nss}
|
||||||
@ -405,10 +416,8 @@ echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
|||||||
echo "ac_add_options --enable-tests" >> .mozconfig
|
echo "ac_add_options --enable-tests" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# TODO Hack - FF does not support new jpeg turbo library
|
%if !%{?system_jpeg}
|
||||||
%if 0%{?fedora} > 21
|
|
||||||
echo "ac_add_options --without-system-jpeg" >> .mozconfig
|
echo "ac_add_options --without-system-jpeg" >> .mozconfig
|
||||||
BuildRequires: yasm
|
|
||||||
%else
|
%else
|
||||||
echo "ac_add_options --with-system-jpeg" >> .mozconfig
|
echo "ac_add_options --with-system-jpeg" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user