From 14bbbc30aa15c8fe5a7b1572efe339342f520cf7 Mon Sep 17 00:00:00 2001 From: manongjohn <19245851+manongjohn@users.noreply.github.com> Date: Mon, 6 Jun 2022 21:14:01 -0400 Subject: [PATCH] Fix ffmpeg builds on macOS Catalina --- ci-scripts/osx/tahoma-buildffmpeg.sh | 24 ++++++++++++++++++++++++ ci-scripts/osx/tahoma-install.sh | 5 ++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/ci-scripts/osx/tahoma-buildffmpeg.sh b/ci-scripts/osx/tahoma-buildffmpeg.sh index 76b5dd2b..11e3b887 100755 --- a/ci-scripts/osx/tahoma-buildffmpeg.sh +++ b/ci-scripts/osx/tahoma-buildffmpeg.sh @@ -25,6 +25,30 @@ sudo make install 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" git clone -b v4.3.1 https://github.com/tahoma2d/FFmpeg ffmpeg diff --git a/ci-scripts/osx/tahoma-install.sh b/ci-scripts/osx/tahoma-install.sh index dbfb5876..7e858ebc 100755 --- a/ci-scripts/osx/tahoma-install.sh +++ b/ci-scripts/osx/tahoma-install.sh @@ -4,4 +4,7 @@ brew update rm -f '/usr/local/bin/2to3' # Remove synlink to nghttp2 in order for latest curl to install 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 + \ No newline at end of file