FFmpeg build scripts: also install yasm and cross build dependencies

CQTexperiment
Christopher Snowhill 2021-08-25 01:29:53 -07:00
parent 5c27dcf976
commit 4548e54815
1 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,10 @@ info() {
info "Installing build dependencies of FFmpeg with Homebrew" info "Installing build dependencies of FFmpeg with Homebrew"
brew install --only-dependencies ffmpeg brew install --only-dependencies ffmpeg
brew install yasm
info "Installing build dependencies for cross build with Homebrew"
arch -x86_64 /usr/local/bin/brew install --only-dependencies ffmpeg
ARCHS="arm64 x86_64" ARCHS="arm64 x86_64"
LIBS="libavcodec libavformat libavutil libswresample" LIBS="libavcodec libavformat libavutil libswresample"
@ -35,4 +39,4 @@ for lib in $LIBS; do
rm $all_libs rm $all_libs
done done
info "Done!" info "Done!"