From b19de22053932f61d73e2cd6a17f429000ce7bc3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 19 Sep 2019 17:01:01 +0200 Subject: MACOS: Implement 64bit-only bundle target --- ports.mk | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'ports.mk') diff --git a/ports.mk b/ports.mk index f161373cb0..f923d8efe3 100644 --- a/ports.mk +++ b/ports.mk @@ -91,15 +91,19 @@ scummvm.docktileplugin: ScummVMDockTilePlugin cp ScummVMDockTilePlugin scummvm.docktileplugin/Contents/MacOS/ chmod 644 scummvm.docktileplugin/Contents/MacOS/ScummVMDockTilePlugin +scummvm.docktileplugin64: ScummVMDockTilePlugin64 + mkdir -p scummvm.docktileplugin/Contents + cp $(srcdir)/dists/macosx/dockplugin/Info.plist scummvm.docktileplugin/Contents + mkdir -p scummvm.docktileplugin/Contents/MacOS + mv ScummVMDockTilePlugin64 ScummVMDockTilePlugin + cp ScummVMDockTilePlugin scummvm.docktileplugin/Contents/MacOS/ + chmod 644 scummvm.docktileplugin/Contents/MacOS/ScummVMDockTilePlugin + endif bundle_name = ScummVM.app -ifdef USE_DOCKTILEPLUGIN -bundle: scummvm-static scummvm.docktileplugin -else -bundle: scummvm-static -endif +bundle-pack: mkdir -p $(bundle_name)/Contents/MacOS mkdir -p $(bundle_name)/Contents/Resources echo "APPL????" > $(bundle_name)/Contents/PkgInfo @@ -137,6 +141,16 @@ ifdef USE_DOCKTILEPLUGIN cp -r scummvm.docktileplugin $(bundle_name)/Contents/PlugIns/ endif +ifdef USE_DOCKTILEPLUGIN +bundle: scummvm-static scummvm.docktileplugin bundle-pack + +bundle64: scummvm-static scummvm.docktileplugin64 bundle-pack +else +bundle: scummvm-static bundle-pack + +bundle64: scummvm-static bundle-pack +endif + iphonebundle: iphone mkdir -p $(bundle_name) cp $(srcdir)/dists/iphone/Info.plist $(bundle_name)/ -- cgit v1.2.3