These are build scripts for building libmpv, and its dependencies:
- FFmpeg
- libass
- freetype
- harfbuzz
- fribidi
- uchardet
Currently used to help build Outplayer on iOS.
Tested with:
- macOS 10.14.6
- Xcode 10.3
- Run
./download.sh
to download and unarchive the projects' source - Run
./build.sh -e ENVIRONMENT
, where environment is one of:
development
: builds arm64 and x86_64 fat static libaries, and builds mpv with debug symbols and no optimization.
distribution
: builds only arm64 static libraries, adds bitcode, and adds -Os
to optimize for size and speed.
These scripts build upon ybma-xbzheng/mpv-build-mac-iOS and mpv-player/mpv-build