Added support to enable/disable gstreamer to spec

This commit is contained in:
Jan Horak 2014-01-29 13:42:31 +01:00
parent 0a58c3e663
commit 54b34c0328
2 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,6 @@ ac_add_options --enable-gio
ac_add_options --disable-gnomevfs
ac_add_options --enable-chrome-format=omni
ac_add_options --enable-pulseaudio
ac_add_options --enable-gstreamer
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

View File

@ -276,6 +276,12 @@ echo "ac_add_options --disable-system-cairo" >> .mozconfig
echo "ac_add_options --enable-system-ffi" >> .mozconfig
%endif
%if %{?enable_gstreamer}
echo "ac_add_options --enable-gstreamer" >> .mozconfig
%else
echo "ac_add_options --disable-gstreamer" >> .mozconfig
%endif
%if !%{?separated_plugins}
echo "ac_add_options --disable-ipc" >> .mozconfig
%endif