From 3124a1b6004827480501676c48ddcf32abc153c2 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 9 Sep 2020 18:43:38 -0700 Subject: [PATCH] devops: fine-tune ffmpeg compilation (#3823) This patch: - removes `--enable-gpl` and `--enable-version3` flags. This defaults builds to LGPL2 license - includes `--disable-autodetect` to ensure determenism - includes extra version suffix to link from binary files back to these build scripts --- browser_patches/ffmpeg/BUILD_NUMBER | 2 +- browser_patches/ffmpeg/CONFIG.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browser_patches/ffmpeg/BUILD_NUMBER b/browser_patches/ffmpeg/BUILD_NUMBER index 83b33d238d..dd11724042 100644 --- a/browser_patches/ffmpeg/BUILD_NUMBER +++ b/browser_patches/ffmpeg/BUILD_NUMBER @@ -1 +1 @@ -1000 +1001 diff --git a/browser_patches/ffmpeg/CONFIG.sh b/browser_patches/ffmpeg/CONFIG.sh index fc77d9b739..338d36b86f 100644 --- a/browser_patches/ffmpeg/CONFIG.sh +++ b/browser_patches/ffmpeg/CONFIG.sh @@ -21,9 +21,9 @@ LIBVPX_CONFIG="--enable-static \ --disable-examples" FFMPEG_VERSION="n4.3.1" -FFMPEG_CONFIG="--enable-gpl \ - --enable-version3 \ +FFMPEG_CONFIG="--extra-version=playwright-build-$(cat ./BUILD_NUMBER | head -1) \ --disable-debug \ + --disable-autodetect \ --disable-everything \ --enable-ffmpeg \ --enable-protocol=pipe \