Commit c40e7aaf authored by Rafaël Carré's avatar Rafaël Carré

fix macosx packaging

parent b011ab46
...@@ -92,7 +92,7 @@ VLC-tmp.app: vlc ...@@ -92,7 +92,7 @@ VLC-tmp.app: vlc
$(INSTALL) -d $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES ; \ $(INSTALL) -d $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES ; \
$(INSTALL) $(srcdir)/po/$${i}.gmo $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES/vlc.mo; \ $(INSTALL) $(srcdir)/po/$${i}.gmo $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES/vlc.mo; \
mkdir -p $@/Contents/Resources/$${i}.lproj/ ; \ mkdir -p $@/Contents/Resources/$${i}.lproj/ ; \
$(LN_S) -f ../English.lproj/InfoPlist.strings ../English.lproj/MainMenu.xib \ $(LN_S) -f ../English.lproj/InfoPlist.strings ../English.lproj/MainMenu.nib \
$@/Contents/Resources/$${i}.lproj/ ; \ $@/Contents/Resources/$${i}.lproj/ ; \
done done
printf "APPLVLC#" >| $@/Contents/PkgInfo printf "APPLVLC#" >| $@/Contents/PkgInfo
...@@ -111,6 +111,7 @@ package-macosx: VLC-release.app ChangeLog ...@@ -111,6 +111,7 @@ package-macosx: VLC-release.app ChangeLog
hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-$(VERSION)" "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -scrub hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-$(VERSION)" "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -scrub
# Make sure the image is not writable # Make sure the image is not writable
# Note: We can't directly create a read only dmg as we do the bless stuff # Note: We can't directly create a read only dmg as we do the bless stuff
rm -f "$(top_builddir)/vlc-$(VERSION).dmg"
hdiutil convert "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -format UDBZ -o "$(top_builddir)/vlc-$(VERSION).dmg" hdiutil convert "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -format UDBZ -o "$(top_builddir)/vlc-$(VERSION).dmg"
ls -l "$(top_builddir)/vlc-$(VERSION).dmg" ls -l "$(top_builddir)/vlc-$(VERSION).dmg"
......
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