File mozilla-disable-webm-dependencies.patch of Package MozillaFirefox.754
# HG changeset patch
# Parent 08e0686366e35904fb1e1b26e43a788a4a5d4197
Make the encoder portion dependent on WebM as such (bmo#964484)
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -5405,16 +5405,19 @@ AC_SUBST(MOZ_LIBVPX_CFLAGS)
AC_SUBST(MOZ_LIBVPX_LIBS)
if test "$MOZ_WEBM"; then
if test "$MOZ_SAMPLE_TYPE_FLOAT32"; then
MOZ_VORBIS=1
else
MOZ_TREMOR=1
fi
+else
+ MOZ_WEBM_ENCODER=
+ MOZ_VORBIS=1
fi
if test -n "$MOZ_VPX" -a -z "$MOZ_NATIVE_LIBVPX"; then
dnl Detect if we can use an assembler to compile optimized assembly for libvpx.
dnl We currently require yasm on all x86 platforms and require yasm 1.1.0 on Win32.
dnl We currently require gcc on all arm platforms.
VPX_AS=$YASM