[vlc-devel] [PATCH 0/2] appleOS (lib)VLC buildscript

Marvin Scholz epirat07 at gmail.com
Mon Jun 17 15:55:41 CEST 2019

This patchset adds a new build script for Apple OSes like
iOS, tvOS, macOS.
Its purpose is to essentially do a full automated libvlc
build, with all dependencies from contribs.

Currently it only supports a full static build with static
plugins, as thats the most "complex" way to build stuff.

In the future I plan to add the ability to do shared builds
too and semi-shared (see comment at the top of the script).

Additionally it would be useful to add the ability to
create a macOS package too given that most of the
logic for that is anyway in the makefile it would not
increase complexitiy of the script much, I think.

In the future once VLCKit uses VLC 4.0, it should use
this script to build libvlc.

Note: This script explicitly does _not_ support building
multiple archs at once.

Other TODOs:
- Detecting the OS via the SDK option must be changed to a
  different option and uncoupled from the SDK, given that
  Apple introduced Project Catalyst a week ago which does
  not has its own SDK, but instead is iOS with macabi but
  the macOS SDK.
- Put build results in an easier to find location, put
  all "internal" build results in the "build/<pseudo-triplet>"
  folder to make it easier to wipe everything.

Marvin Scholz (2):
  extras/package: Add new build script for Apple OSes
  extras/package/apple: Do not remove marq module

 extras/package/apple/build.conf | 220 ++++++++++++
 extras/package/apple/build.sh   | 581 ++++++++++++++++++++++++++++++++
 2 files changed, 801 insertions(+)
 create mode 100644 extras/package/apple/build.conf
 create mode 100755 extras/package/apple/build.sh


More information about the vlc-devel mailing list