Commit 2d202f4d authored by Felix Paul Kühne's avatar Felix Paul Kühne

* added 2 options for the OSX-disk-image creation-line

    - scrub: removes .Trashes
    - imagekey zlib-level=9: uses a better compression method, which saves us something MBs, but needs a bit more CPU-time.

Thanks to cilly on IRC for suggesting this.
parent 345c99c3
......@@ -847,7 +847,8 @@ package-macosx:
echo "Creating disk image" ;
rm -f "$(top_builddir)/vlc-${VERSION}.dmg" ;
hdiutil create -srcfolder "$(top_builddir)/vlc-${VERSION}" \
"$(top_builddir)/vlc-${VERSION}.dmg" -format UDZO -quiet ;
"$(top_builddir)/vlc-${VERSION}.dmg" -format UDZO -quiet \
-scrub -imagekey zlib-level=9 ;
echo; echo "Disk image creation completed:" ;
ls -la "$(top_builddir)/vlc-${VERSION}.dmg" ; echo ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment