FFmpeg build scripts: also install yasm and cross build dependencies
parent
5c27dcf976
commit
4548e54815
|
@ -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!"
|
||||||
|
|
Loading…
Reference in New Issue