diff options
Diffstat (limited to 'macosx/localize.sh')
-rwxr-xr-x | macosx/localize.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/macosx/localize.sh b/macosx/localize.sh index 27c423caa..5c32cfcde 100755 --- a/macosx/localize.sh +++ b/macosx/localize.sh @@ -8,3 +8,51 @@ do cp -r English.lproj $l.lproj cp ../../../macosx/i18n/$l.strings $l.lproj/Localizable.strings done + +echo Generating Info.plist with correct version information +cd .. +echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?> +<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"> +<plist version=\"1.0\"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleDisplayName</key> + <string>HandBrake</string> + <key>CFBundleExecutable</key> + <string>HandBrake</string> + <key>CFBundleGetInfoString</key> + <string>0.8.0b1</string> + <key>CFBundleIconFile</key> + <string>HandBrake</string> + <key>CFBundleIdentifier</key> + <string>org.m0k.handbrake</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>HandBrake</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>$2</string> + <key>CFBundleSignature</key> + <string>HB##</string> + <key>CFBundleVersion</key> + <string>$3</string> + <key>NSHumanReadableCopyright</key> + <string>HandBrake Devs</string> + <key>NSMainNibFile</key> + <string>MainMenu</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> +</dict> +</plist>" > Info.plist + +if [ $4 == "DEV" ]; then +echo Installing libquicktime Plugins in the $1 Bundle +cd Resources +mkdir plugins +cd plugins +cp ../../../../contrib/lib/libquicktime/* . +fi + |