summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-05-05 19:14:09 +0200
committerMartin Stransky <stransky@redhat.com>2020-05-05 19:14:09 +0200
commit4fc5ebfabe8ab6d2cde813dc2554c6e3f19c9515 (patch)
tree2cb25b03457f11e95eaedafbf6bbca99a63c40e3 /firefox.spec
parentAdded va-api patches (diff)
downloadlibrewolf-fedora-ff-4fc5ebfabe8ab6d2cde813dc2554c6e3f19c9515.tar.gz
librewolf-fedora-ff-4fc5ebfabe8ab6d2cde813dc2554c6e3f19c9515.tar.bz2
librewolf-fedora-ff-4fc5ebfabe8ab6d2cde813dc2554c6e3f19c9515.zip
Disable AV1 on Fedora 30
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec7
1 files changed, 7 insertions, 0 deletions
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
bgstack15