LiuDeng / mpv-ios-scripts

iOS build scripts for libmpv and its dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mpv iOS build scripts

These are build scripts for building libmpv, and its dependencies:

  • FFmpeg
  • libass
  • freetype
  • harfbuzz
  • fribidi
  • uchardet

Currently used to help build Outplayer on iOS.

Configuration

Tested with:

  • macOS 10.14.6
  • Xcode 10.3

Usage

  1. Run ./download.sh to download and unarchive the projects' source
  2. 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.

References

These scripts build upon ybma-xbzheng/mpv-build-mac-iOS and mpv-player/mpv-build

About

iOS build scripts for libmpv and its dependencies


Languages

Language:Shell 100.0%