From 4fc5ebfabe8ab6d2cde813dc2554c6e3f19c9515 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: May 05 2020 17:14:09 +0000 Subject: Disable AV1 on Fedora 30 --- diff --git a/firefox-mozconfig b/firefox-mozconfig index d022604..2f09eb2 100644 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -14,7 +14,6 @@ ac_add_options --enable-release ac_add_options --update-channel=release # Workaround for mozbz#1341234 ac_add_options BINDGEN_CFLAGS="$(pkg-config nspr pixman-1 --cflags)" -ac_add_options --enable-av1 ac_add_options --allow-addon-sideload export BUILD_OFFICIAL=1 diff --git a/firefox.spec b/firefox.spec index 67449a5..347f858 100644 --- a/firefox.spec +++ b/firefox.spec @@ -495,6 +495,13 @@ echo "ac_add_options --enable-address-sanitizer" >> .mozconfig echo "ac_add_options --disable-jemalloc" >> .mozconfig %endif +# We don't have recent nasm on Fedora 30...time to update to Fedora 31. +%if 0%{?fedora} < 31 +ac_add_options --disable-av1 +%else +ac_add_options --enable-av1 +%endif + # api keys full path echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig # It seems that the api key we have is for the safe browsing only