Disable AV1 on Fedora 30

This commit is contained in:
Martin Stransky 2020-05-05 19:14:09 +02:00
parent cb1655cd55
commit 4fc5ebfabe
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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