Commit 1237bf88 authored by Damien Fouilleul's avatar Damien Fouilleul

- backported [15478]

parent f510b615
......@@ -849,7 +849,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"
......@@ -858,6 +859,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