summaryrefslogtreecommitdiff
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
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
-rw-r--r--firefox-mozconfig1
-rw-r--r--firefox.spec7
2 files changed, 7 insertions, 1 deletions
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
bgstack15