summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox-mozconfig1
-rw-r--r--firefox.spec6
2 files changed, 6 insertions, 1 deletions
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
bgstack15