comparison deploy/osx/deploy.sh @ 1082:b2c45b831ea8 3.0-integration

Merge from default branch
author Chris Cannam
date Wed, 18 Nov 2015 12:08:33 +0000
parents 40ff7c801fc2 bd3728701e1e
children 1e63105fc82d
comparison
equal deleted inserted replaced
1071:b0f6dce4eab0 1082:b2c45b831ea8
37 echo "Fixing up paths." 37 echo "Fixing up paths."
38 38
39 deploy/osx/paths.sh "$app" 39 deploy/osx/paths.sh "$app"
40 40
41 echo 41 echo
42 echo "Copying in qt.conf to set local-only plugin paths."
43 echo "Make sure all necessary Qt plugins are in $source/Contents/plugins/*"
44 echo "You probably want platforms/, accessible/ and imageformats/ subdirectories."
45 cp deploy/osx/qt.conf "$source"/Contents/Resources/qt.conf
46
47 echo
48 echo "Writing version $bundleVersion in to bundle."
49 echo "(This should be a three-part number: major.minor.point)"
50
51 perl -p -e "s/SV_VERSION/$bundleVersion/" deploy/osx/Info.plist \
52 > "$source"/Contents/Info.plist
53
54 echo "Done: check $source/Contents/Info.plist for sanity please"
55
56 echo
42 echo "Making target tree." 57 echo "Making target tree."
43 58
44 volume="$app"-"$version" 59 volume="$app"-"$version"
45 target="$volume"/"$app".app 60 target="$volume"/"$app".app
46 dmg="$dmg"-"$version".dmg 61 dmg="$dmg"-"$version".dmg
51 cp README README.OSC COPYING CHANGELOG "$volume/" 66 cp README README.OSC COPYING CHANGELOG "$volume/"
52 cp -rp "$source" "$target" 67 cp -rp "$source" "$target"
53 68
54 echo "Done" 69 echo "Done"
55 70
56 echo
57 echo "Copying in qt.conf to set local-only plugin paths."
58 echo "Make sure all necessary Qt plugins are in $target/Contents/plugins/*"
59 echo "You probably want platforms/, accessible/ and imageformats/ subdirectories."
60 cp deploy/osx/qt.conf "$target"/Contents/Resources/qt.conf
61
62 echo
63 echo "Writing version $bundleVersion in to bundle."
64 echo "(This should be a three-part number: major.minor.point)"
65
66 perl -p -e "s/SV_VERSION/$bundleVersion/" deploy/osx/Info.plist \
67 > "$target"/Contents/Info.plist
68
69 echo "Done: check $target/Contents/Info.plist for sanity please"
70
71 deploy/osx/sign.sh "$volume" || exit 1 71 deploy/osx/sign.sh "$volume" || exit 1
72 72
73 echo 73 echo
74 echo "Making dmg..." 74 echo "Making dmg..."
75 75