]> git.sesse.net Git - vlc/commitdiff
mac package: convert Info.plist into binary format before deployment
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 10 Jan 2014 14:37:29 +0000 (15:37 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 10 Jan 2014 14:49:56 +0000 (15:49 +0100)
This reduces size of this file from currently 60 to 16 KB.

extras/package/macosx/package.mak

index 53c341c59fdb4e5afcfe1bcd79e7d46165782eda..3a44df2cfb938832868d0c76090a42fad89393ae 100644 (file)
@@ -37,6 +37,7 @@ VLC-tmp: vlc
        REVISION=`(git --git-dir=$(srcdir)/.git describe --always || echo exported)` && \
            sed "s/#REVISION#/$$REVISION/g" $(top_builddir)/extras/package/macosx/Info.plist \
         > $(top_builddir)/tmp/extras/package/macosx/Info.plist
+       xcrun plutil -convert binary1 $(top_builddir)/tmp/extras/package/macosx/Info.plist
        cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/
        cd "$(srcdir)"; cp AUTHORS COPYING THANKS $(abs_top_builddir)/tmp/
        mkdir -p $(top_builddir)/tmp/modules/audio_output