[Scummvm-cvs-logs] CVS: scummvm Info.plist,NONE,1.1 Makefile,1.20,1.21

Max Horn fingolfin at users.sourceforge.net
Sun Nov 10 14:08:03 CET 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv32470

Modified Files:
	Makefile 
Added Files:
	Info.plist 
Log Message:
Added a bundle target for OS X (creates an .app wrapper); Info.plist contains some user information for that wrapper, like version & copyright (needs to be adjusted for releases)

--- NEW FILE: Info.plist ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleExecutable</key>
	<string>scummvm</string>
	<key>CFBundleGetInfoString</key>
	<string>0.2.81 CVS, Copyright 2001-2002 The ScummVM team</string>
	<key>CFBundleIconFile</key>
	<string>scummvm.icns</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>scummvm</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>0.2.81 CVS</string>
	<key>CFBundleVersion</key>
	<string>0.2.81 CVS</string>
	<key>NSPrincipalClass</key>
	<string>NSApplication</string>
	<key>NSHumanReadableCopyright</key>
	<string>Copyright 2001-2002 The ScummVM team</string>
</dict>
</plist>

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Makefile	3 Nov 2002 15:08:13 -0000	1.20
+++ Makefile	10 Nov 2002 22:07:06 -0000	1.21
@@ -75,3 +75,13 @@
 	ln -sf dists/debian;
 	debian/prepare
 	fakeroot debian/rules binary
+
+# Special target to create a application wrapper for Mac OS X
+bundle_name = ScummVM.app
+bundle: scummvm
+	mkdir -p $(bundle_name)/Contents/MacOS
+	mkdir -p $(bundle_name)/Contents/Resources
+	echo "APPL????" > $(bundle_name)/Contents/PkgInfo
+	cp Info.plist $(bundle_name)/Contents/
+	cp scummvm.icns $(bundle_name)/Contents/Resources/
+	cp $< $(bundle_name)/Contents/MacOS/





More information about the Scummvm-git-logs mailing list