GithubHelp home page GithubHelp logo

quange / mpv-ios-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karlzeo/mpv-ios-scripts

0.0 0.0 0.0 67 KB

iOS build scripts for libmpv and its dependencies.

Shell 8.67% C 91.25% Objective-C 0.08%

mpv-ios-scripts's Introduction

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 (content of fold bin) 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

mpv-ios-scripts's People

Contributors

nihalahmed avatar stps avatar karlzeo avatar quange avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.