From ec040cb5d8479edeb4dae2528c48e5b5a72d9f63 Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Wed, 6 Jan 2016 13:36:59 +0100 Subject: OSX: Fixes the Info.plist.in template, and the bundle target --- dists/macosx/Info.plist.in | 2 +- ports.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dists/macosx/Info.plist.in b/dists/macosx/Info.plist.in index 27c79743a2..55be27d77b 100644 --- a/dists/macosx/Info.plist.in +++ b/dists/macosx/Info.plist.in @@ -13,7 +13,7 @@ CFBundleIconFile scummvm.icns CFBundleIdentifier - org.scummvm.scummvm + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleLocalizations diff --git a/ports.mk b/ports.mk index 00ab5ce432..17baee80dd 100644 --- a/ports.mk +++ b/ports.mk @@ -58,7 +58,7 @@ bundle: scummvm-static mkdir -p $(bundle_name)/Contents/MacOS mkdir -p $(bundle_name)/Contents/Resources echo "APPL????" > $(bundle_name)/Contents/PkgInfo - cp $(srcdir)/dists/macosx/Info.plist $(bundle_name)/Contents/ + sed -e 's/$$(PRODUCT_BUNDLE_IDENTIFIER)/org.scummvm.scummvm/' $(srcdir)/dists/macosx/Info.plist >$(bundle_name)/Contents/Info.plist ifdef USE_SPARKLE mkdir -p $(bundle_name)/Contents/Frameworks cp $(srcdir)/dists/macosx/dsa_pub.pem $(bundle_name)/Contents/Resources/ -- cgit v1.2.3