[vlc-devel] [PATCH] Fix VLCKit build script for MacOSX 10.13

David Fuhrmann david.fuhrmann at gmail.com
Thu Jan 25 19:48:27 CET 2018


> Am 25.01.2018 um 14:15 schrieb Felix Paul Kühne <fkuehne at videolan.org>:
> Hi David,
>> On 24. Jan 2018, at 21:28, David Fuhrmann <david.fuhrmann at gmail.com> wrote:
>> Merging build scripts is a good idea. But then the result should be stored in vlc.git, as this is the only repo used by all variants (VLC.app, VLCKit, MobileVLCKit).
>> So I would use the existing build.sh in vlc.git as basis, and adapt this one as needed for VLCKit / MobileVLCKit.
> The script for VLCKit do more than just that, but I’ll merge the libvlc specific bits with your build.sh. May be we want to move it to a neutral folder in git though, since it will no longer be macOS specific?

VLCKit does slightly more stuff, but not much it seems.

Ideally, we could have one script which just compiles contribs + vlc + installs everything into a given prefix.

Then each flavor could have its own scripts to package the stuff, or do lipo or whatever. If we have additional {C, CXX, LD}FLAGS for one platform specifically, those should stay in the platform specific scripts as well.

I am also thinking of moving out all the export stuff (to setup the correct environment) into separate files, which you can then source into your current shell. This could be done from different scripts, but it is also helpful for developers to setup a correct env, if you want to run make commends by hand.

As you probably know best what you need for iOS, maybe you also share some ideas which split might make most sense?

BR. David

More information about the vlc-devel mailing list