[vlc-commits] mac package: convert Info.plist into binary format before deployment

David Fuhrmann git at videolan.org
Fri Jan 10 15:50:08 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Jan 10 15:37:29 2014 +0100| [d976d9d061655cf88f9df83822a38a7db814ecf5] | committer: David Fuhrmann

mac package: convert Info.plist into binary format before deployment

This reduces size of this file from currently 60 to 16 KB.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d976d9d061655cf88f9df83822a38a7db814ecf5
---

 extras/package/macosx/package.mak |    1 +
 1 file changed, 1 insertion(+)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 53c341c..3a44df2 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -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



More information about the vlc-commits mailing list