vlc | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Mon Dec 2 09:49:42 2019 +0100| [05dea5e4ca8685d657852713204fbefac1d7dcd5] | committer: David Fuhrmann
macOS packaging: Add target to package an sdk version for macOS This adds a separate target to add an SDK version of the macOS binaries. This package is the result of a destroot'ed 'make install' It shall serve two purposes: 1) Out of tree modules compilation: Module authors can use the included pkgconfig files to link against libvlc(core) for their own modules. This is similar to the existing SDK we have on Windows. 2) Packaging libvlc for our own app: If someone does not want to use VLCKit, but links against libvlc directly, these precompiled artefacts can be used for packaging the libs into the own app. Packaging shall be done in the same way as with VLC.app (i.e.: lib/* and the vlc plugins directory goes to Contents/Frameworks, share/ goes to Contents/Resources/share/ if needed). In this case, all ressources are found by libvlc automatically. Users can also execute vlc directly from the extracted tarball, after specifying LD_LIBRARY_PATH and VLC_PLUGIN_PATH. Using the macOS UI module is not supported. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05dea5e4ca8685d657852713204fbefac1d7dcd5 --- extras/package/macosx/package.mak | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak index 9be48169a4..05838f945e 100644 --- a/extras/package/macosx/package.mak +++ b/extras/package/macosx/package.mak @@ -65,6 +65,10 @@ endif find $@ -type d -exec chmod ugo+rx '{}' \; find $@ -type f -exec chmod ugo+r '{}' \; +package-macosx-sdk: macos-install + rm -f "$(top_builddir)/vlc-macos-sdk-$(VERSION).tar.gz" + tar -cf - --exclude "share/macosx" -C "$(macos_destdir)" . \ + | gzip -c > "$(top_builddir)/vlc-macos-sdk-$(VERSION).tar.gz" package-macosx: VLC.app rm -f "$(top_builddir)/vlc-$(VERSION).dmg" @@ -126,7 +130,7 @@ package-translations: $(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \ | GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz -.PHONY: package-macosx package-macosx-zip package-macosx-release package-translations pseudo-bundle macos-install +.PHONY: package-macosx package-macosx-zip package-macosx-release package-translations pseudo-bundle macos-install package-macosx-sdk ############################################################################### # Mac OS X project _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits