summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2011-12-11 16:54:37 +0100
committerMaarten ter Huurne <maarten@treewalker.org>2011-12-11 16:54:37 +0100
commit780e5e7244b0e2e35eef71c058259caf8aa1d620 (patch)
tree89ce3fa94b0aa9c564332081b659bad86921f58d /Source/Core
parentc1cf4f80cfb03e9961adecc4f4518d89879b9fed (diff)
Use a custom template to generate the Info.plist for the OS X bundle.
This allows us to add keys that don't exist in the CMake template. I added the keys from the Info.plist that was generated by our SCons build to the new template.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt8
-rw-r--r--Source/Core/DolphinWX/Info.plist.in63
2 files changed, 64 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt
index 7979b5cc58..91c1c1b58f 100644
--- a/Source/Core/DolphinWX/CMakeLists.txt
+++ b/Source/Core/DolphinWX/CMakeLists.txt
@@ -124,13 +124,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Ask for an application bundle.
set_target_properties(${DOLPHIN_EXE} PROPERTIES
MACOSX_BUNDLE true
- MACOSX_BUNDLE_BUNDLE_NAME Dolphin
- MACOSX_BUNDLE_ICON_FILE Dolphin.icns
- MACOSX_BUNDLE_GUI_IDENTIFIER com.dolphin-emulator.dolphin
- MACOSX_BUNDLE_SHORT_VERSION_STRING ${DOLPHIN_WC_DESCRIBE}
- MACOSX_BUNDLE_LONG_VERSION_STRING ${DOLPHIN_WC_REVISION}
- MACOSX_BUNDLE_BUNDLE_VERSION "${DOLPHIN_VERSION_MAJOR}.${DOLPHIN_VERSION_MINOR}"
- MACOSX_BUNDLE_COPYRIGHT "Licensed under GPL version 2"
+ MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
)
# Install Cg framework into application bundle.
diff --git a/Source/Core/DolphinWX/Info.plist.in b/Source/Core/DolphinWX/Info.plist.in
new file mode 100644
index 0000000000..e365e462ae
--- /dev/null
+++ b/Source/Core/DolphinWX/Info.plist.in
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>ciso</string>
+ <string>dol</string>
+ <string>elf</string>
+ <string>gcm</string>
+ <string>gcz</string>
+ <string>iso</string>
+ <string>wad</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>Dolphin.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>Nintendo GC/Wii file</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ </dict>
+ </array>
+ <key>CFBundleExecutable</key>
+ <string>Dolphin</string>
+ <key>CFBundleIconFile</key>
+ <string>Dolphin.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.dolphin-emulator.dolphin</string>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleLocalizations</key>
+ <array>
+ <string>ar</string>
+ <string>el</string>
+ <string>en</string>
+ <string>es</string>
+ <string>fr</string>
+ <string>hu</string>
+ <string>pt</string>
+ <string>pt_BR</string>
+ <string>tr</string>
+ </array>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>${DOLPHIN_WC_DESCRIBE}</string>
+ <key>CFBundleLongVersionString</key>
+ <string>${DOLPHIN_WC_REVISION}</string>
+ <key>CFBundleVersion</key>
+ <string>${DOLPHIN_VERSION_MAJOR}.${DOLPHIN_VERSION_MINOR}</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Licensed under GPL version 2</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>10.5.4</string>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>CSResourcesFileMapped</key>
+ <true/>
+</dict>
+</plist>