diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-03 16:53:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-14 21:07:49 +0100 |
| commit | cd06ec145bf9617615fae7d620cf51ad5b486293 (patch) | |
| tree | cf48eff526540e9adaa6e047ec7d70a72a45250f /platform/osx | |
| parent | 609c71720a5edd8f3fd57f007d28b4e7f559cb1e (diff) | |
Player build stuff.
Diffstat (limited to 'platform/osx')
| -rw-r--r-- | platform/osx/make_dmg.sh | 9 | ||||
| -rw-r--r-- | platform/osx/wscript | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index bccecfebc..fcbc94ed7 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -117,6 +117,7 @@ function copy_resources { cp $ROOT/32/src/dcpomatic/graphics/osx/dcpomatic2.icns "$dest" cp $ROOT/32/src/dcpomatic/graphics/osx/dcpomatic2_kdm.icns "$dest" cp $ROOT/32/src/dcpomatic/graphics/osx/dcpomatic2_server.icns "$dest" + cp $ROOT/32/src/dcpomatic/graphics/osx/dcpomatic2_player.icns "$dest" cp $ROOT/32/src/dcpomatic/graphics/osx/dcpomatic2_batch.icns "$dest" cp $ROOT/32/src/dcpomatic/graphics/osx/preferences/colour_conversions.png "$dest" cp $ROOT/32/src/dcpomatic/graphics/osx/preferences/defaults.png "$dest" @@ -267,3 +268,11 @@ cp $ROOT/32/src/dcpomatic/build/platform/osx/dcpomatic2_batch.Info.plist "$appro rl=("$approot/MacOS/dcpomatic2_batch" "$approot/lib/"*.dylib) relink "${rl[@]}" make_dmg "$appdir" "DCP-o-matic Batch Converter" + +# DCP-o-matic Player +setup "DCP-o-matic 2 Player.app" +universal_copy $ROOT src/dcpomatic/build/src/tools/dcpomatic2_player "$approot/MacOS" +cp $ROOT/32/src/dcpomatic/build/platform/osx/dcpomatic2_player.Info.plist "$approot/Info.plist" +rl=("$approot/MacOS/dcpomatic2_player" "$approot/lib/"*.dylib) +relink "${rl[@]}" +make_dmg "$appdir" "DCP-o-matic Player" diff --git a/platform/osx/wscript b/platform/osx/wscript index f2248fcb5..a34c21e2e 100644 --- a/platform/osx/wscript +++ b/platform/osx/wscript @@ -3,3 +3,4 @@ def build(bld): obj = bld(features='subst', source='dcpomatic2_kdm.Info.plist.in', target='dcpomatic2_kdm.Info.plist', version=bld.env.VERSION) obj = bld(features='subst', source='dcpomatic2_server.Info.plist.in', target='dcpomatic2_server.Info.plist', version=bld.env.VERSION) obj = bld(features='subst', source='dcpomatic2_batch.Info.plist.in', target='dcpomatic2_batch.Info.plist', version=bld.env.VERSION) + obj = bld(features='subst', source='dcpomatic2_player.Info.plist.in', target='dcpomatic2_player.Info.plist', version=bld.env.VERSION) |
