From 54b34c0328792559206d63a453f063bae5c6c1cb Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 29 Jan 2014 13:42:31 +0100 Subject: Added support to enable/disable gstreamer to spec --- firefox-mozconfig | 1 - firefox.spec | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/firefox-mozconfig b/firefox-mozconfig index d3d8a48..7766ac2 100644 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -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 diff --git a/firefox.spec b/firefox.spec index 31f6fb3..cb90190 100644 --- a/firefox.spec +++ b/firefox.spec @@ -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 -- cgit