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 12.5
 - Xcode 14.1
 
- Build OpenSSL for iOS and tvOS
 - Copy built OpenSSL libraries to 
./openssl - Run 
./download.shto download and unarchive the projects' source - Run 
./compile.sh -p PLATFORM -e ENVIRONMENT, where platform is one ofios,tvand environment is one of: 
development: builds x86_64 and arm64 static libaries, and builds mpv with debug symbols and no optimization.
distribution: builds arm64 static libraries, adds bitcode, and adds -Os to optimize for size and speed.
- Run 
./xcframework.shto create a framework from the development and distribution architectures. 
Alternatively, run ./build.sh to build and create a framework for iOS and tvOS from the development and distribution architectures.
These scripts build upon ybma-xbzheng/mpv-build-mac-iOS and mpv-player/mpv-build