summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2014-01-29 13:42:31 +0100
committerJan Horak <jhorak@redhat.com>2014-01-29 13:42:31 +0100
commit54b34c0328792559206d63a453f063bae5c6c1cb (patch)
tree2525b3089e3acec6b236761326efa9d8a086b0cc
parentSet homepage to about:newtab (diff)
downloadlibrewolf-fedora-ff-54b34c0328792559206d63a453f063bae5c6c1cb.tar.gz
librewolf-fedora-ff-54b34c0328792559206d63a453f063bae5c6c1cb.tar.bz2
librewolf-fedora-ff-54b34c0328792559206d63a453f063bae5c6c1cb.zip
Added support to enable/disable gstreamer to spec
-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