Merge pull request #1009 from manongjohn/fix_macos_ffmpeg_build

Fix ffmpeg builds on macOS Catalina
This commit is contained in:
manongjohn 2022-06-06 23:55:55 -04:00 committed by GitHub
commit 7a440ac58e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View file

@ -25,6 +25,30 @@ sudo make install
cd ../.. cd ../..
echo ">>> Cloning dav1d"
git clone https://github.com/videolan/dav1d
cd dav1d
git checkout tags/0.9.2
if [ ! -d build ]
then
mkdir build
fi
cd build
echo ">>> Configuring dav1d (meson)"
meson ..
echo ">>> Building dav1d"
ninja
echo ">>> Installing dav1d"
ninja install
cd ../..
echo ">>> Cloning ffmpeg" echo ">>> Cloning ffmpeg"
git clone -b v4.3.1 https://github.com/tahoma2d/FFmpeg ffmpeg git clone -b v4.3.1 https://github.com/tahoma2d/FFmpeg ffmpeg

View file

@ -4,4 +4,7 @@ brew update
rm -f '/usr/local/bin/2to3' rm -f '/usr/local/bin/2to3'
# Remove synlink to nghttp2 in order for latest curl to install # Remove synlink to nghttp2 in order for latest curl to install
brew unlink nghttp2 brew unlink nghttp2
brew install boost qt@5 clang-format glew lz4 lzo libmypaint jpeg-turbo nasm yasm dav1d fontconfig freetype gnutls lame libass libbluray libsoxr libvorbis libvpx opencore-amr openh264 openjpeg opus rav1e sdl2 snappy speex tesseract theora webp xvid xz brew install boost qt@5 clang-format glew lz4 lzo libmypaint jpeg-turbo nasm yasm fontconfig freetype gnutls lame libass libbluray libsoxr libvorbis libvpx opencore-amr openh264 openjpeg opus rav1e sdl2 snappy speex tesseract theora webp xvid xz
#brew install dav1d
brew install meson ninja