[firefox/f20] Added support to enable/disable gstreamer to spec
Jan Horak
xhorak at fedoraproject.org
Wed Jan 29 12:42:07 UTC 2014
commit 54b34c0328792559206d63a453f063bae5c6c1cb
Author: Jan Horak <jhorak at redhat.com>
Date: Wed Jan 29 13:42:31 2014 +0100
Added support to enable/disable gstreamer to spec
firefox-mozconfig | 1 -
firefox.spec | 6 ++++++
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
More information about the scm-commits
mailing list