Skip to content

iOS build scripts for libmpv and its dependencies.

Notifications You must be signed in to change notification settings

sunweifeng/mpv-ios-scripts

This branch is 2 commits behind nihalahmed/mpv-ios-scripts:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

411a4d7 · Aug 10, 2022

History

15 Commits
Aug 10, 2022
May 9, 2021
Aug 1, 2022
Aug 1, 2022
Aug 1, 2022
Jun 22, 2020
Aug 1, 2022
Aug 1, 2022
Feb 28, 2022
Aug 10, 2022

Repository files navigation

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 12.5
  • Xcode 13.4.1

Usage

  1. Build OpenSSL for iOS and tvOS
  2. Copy built OpenSSL libraries to ./openssl
  3. Run ./download.sh to download and unarchive the projects' source
  4. Run ./compile.sh -p PLATFORM -e ENVIRONMENT, where platform is one of ios, tv and 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.

  1. Run ./xcframework.sh to 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.

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.3%
  • Shell 8.6%
  • Objective-C 0.1%