Mercurial > hg > tony
comparison deploy/osx/deploy.sh @ 507:fc726260b29b
Merge from branch "2.0-integration"
author | Chris Cannam |
---|---|
date | Mon, 19 Oct 2015 11:38:17 +0100 |
parents | 8deff0bd9d45 |
children | 2fcc15ca574a |
comparison
equal
deleted
inserted
replaced
473:ceecc71eeb20 | 507:fc726260b29b |
---|---|
55 echo "Fixing up paths." | 55 echo "Fixing up paths." |
56 | 56 |
57 deploy/osx/paths.sh "$app" | 57 deploy/osx/paths.sh "$app" |
58 | 58 |
59 echo | 59 echo |
60 echo "Copying in qt.conf to set local-only plugin paths." | |
61 echo "Make sure all necessary Qt plugins are in $source/Contents/plugins/*" | |
62 echo "You probably want platforms/, accessible/ and imageformats/ subdirectories." | |
63 cp deploy/osx/qt.conf "$source"/Contents/Resources/qt.conf | |
64 | |
65 echo | |
66 echo "Writing version $bundleVersion in to bundle." | |
67 echo "(This should be a three-part number: major.minor.point)" | |
68 | |
69 perl -p -e "s/TONY_VERSION/$bundleVersion/" deploy/osx/Info.plist \ | |
70 > "$source"/Contents/Info.plist | |
71 | |
72 echo "Done: check $source/Contents/Info.plist for sanity please" | |
73 | |
74 echo | |
60 echo "Making target tree." | 75 echo "Making target tree." |
61 | 76 |
62 volume="$app"-"$version" | 77 volume="$app"-"$version" |
63 target="$volume"/"$app".app | 78 target="$volume"/"$app".app |
64 dmg="$dmg"-"$version".dmg | 79 dmg="$dmg"-"$version".dmg |
69 cp README COPYING CHANGELOG CITATION "$volume/" | 84 cp README COPYING CHANGELOG CITATION "$volume/" |
70 cp -rp "$source" "$target" | 85 cp -rp "$source" "$target" |
71 | 86 |
72 echo "Done" | 87 echo "Done" |
73 | 88 |
74 echo | |
75 echo "Copying in qt.conf to set local-only plugin paths." | |
76 echo "Make sure all necessary Qt plugins are in $target/Contents/plugins/*" | |
77 echo "You probably want platforms/, accessible/ and imageformats/ subdirectories." | |
78 cp deploy/osx/qt.conf "$target"/Contents/Resources/qt.conf | |
79 | |
80 echo | |
81 echo "Writing version $bundleVersion in to bundle." | |
82 echo "(This should be a three-part number: major.minor.point)" | |
83 | |
84 perl -p -e "s/TONY_VERSION/$bundleVersion/" deploy/osx/Info.plist \ | |
85 > "$target"/Contents/Info.plist | |
86 | |
87 echo "Done: check $target/Contents/Info.plist for sanity please" | |
88 | |
89 deploy/osx/sign.sh "$volume" || exit 1 | 89 deploy/osx/sign.sh "$volume" || exit 1 |
90 | 90 |
91 echo | 91 echo |
92 echo "Making dmg..." | 92 echo "Making dmg..." |
93 | 93 |