Commit 0bf89973 authored by Damien Fouilleul's avatar Damien Fouilleul

- MacOS X: bundle 'VLC Internet Plug-In' package into a disk image for online distribution

parent 1f3ea530
......@@ -856,7 +856,8 @@ package-macosx:
package-macosx-plugin:
if BUILD_MOZILLA
rm -rf "$(top_builddir)/macosx-plugin-instdata/"
# Create Installer
rm -rf "$(top_builddir)/macosx-plugin-instdata/"; true
mkdir -p "$(top_builddir)/macosx-plugin-instdata"
cp -R "$(top_builddir)/mozilla/VLC Plugin.plugin" "$(top_builddir)/macosx-plugin-instdata"
rm -rf "$(top_builddir)/VLC Internet Plug-In.pkg"
......@@ -865,6 +866,17 @@ if BUILD_MOZILLA
-i "$(srcdir)/extras/MacOSX/plugin/InstallerInfo.plist" \
-d "$(srcdir)/extras/MacOSX/plugin/InstallerDescription.plist"; true
rm -rf "$(top_builddir)/macosx-plugin-instdata/"
# Create disk image
rm -f "$(top_builddir)/vlc-plugin-${VERSION}.dmg"; true
rm -rf "$(top_builddir)/vlc-plugin-${VERSION}/"; true
mkdir -p "$(top_builddir)/vlc-plugin-${VERSION}/"
mv "$(top_builddir)/VLC Internet Plug-In.pkg" "$(top_builddir)/vlc-plugin-${VERSION}/"
hdiutil create -srcfolder "$(top_builddir)/vlc-plugin-${VERSION}" \
"$(top_builddir)/vlc-plugin-${VERSION}.dmg" -format UDZO \
-scrub -imagekey zlib-level=9 ;
echo "Disk image creation completed:"
rm -rf "$(top_builddir)/vlc-plugin-${VERSION}"
endif
package-translations:
......
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