summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authortmator <tmator@gmail.com>2008-08-12 23:17:29 +0000
committertmator <tmator@gmail.com>2008-08-12 23:17:29 +0000
commitac6d34cd10ca8d184abdfa4dabde9117b7fa2d55 (patch)
tree1988c9817bb3e5edd6dd18d31a52c256d6a8af45 /Source/Core
parentf893f3f17bd6a9de5c8cc9edb1c213912c5428eb (diff)
Added mth patchs / icon and a fist SDL support on OGL plugin, not work ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@182 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/src/SConscript20
1 files changed, 19 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/src/SConscript b/Source/Core/DolphinWX/src/SConscript
index 63f008c621..028023fd40 100644
--- a/Source/Core/DolphinWX/src/SConscript
+++ b/Source/Core/DolphinWX/src/SConscript
@@ -19,7 +19,25 @@ files = ["BootManager.cpp",
wxenv = env.Copy(CXXFLAGS = "`wx-config --cppflags` -DUSE_XPM_BITMAPS -DwxNEEDS_CHARPP",
LINKFLAGS = "-L/usr/local/lib -pthread `wx-config --libs`")
-if sys.platform == 'darwin':
+if sys.platform == 'darwin':
+ icon = 'Dolphin'
+ version = "svn"
wxenv.Program("../../../../Binary/mac/Dolphin.app/Contents/MacOS/Dolphin", files, LIBS = ["debwx", "discio", "core", "bdisasm", "videocommon", "common" , "z"])
+ wxenv.Command("../../../../Binary/mac/Dolphin.app/Contents/Resources/" + icon + ".icns", "../resources/" + icon + ".icns", Copy("$TARGET", "$SOURCE"))
+ wxenv.Plist("../../../../Binary/mac/Dolphin.app/Contents/Info.plist", Value(dict(
+ CFAppleHelpAnchor = 'index',
+ CFBundleExecutable = 'Dolphin',
+ CFBundleGetInfoHTML = 'Dolphin ' + version,
+ CFBundleIconFile = icon,
+ CFBundleIdentifier = 'com.dolphin-emu.dolphin',
+ CFBundleName = 'Dolphin',
+ CFBundlePackageType = 'APPL',
+ CFBundleShortVersionString = version,
+ CFBundleSignature = 'dlfn',
+ CFBundleVersion = version,
+ LSRequiresCarbon = True,
+ NSPrefPaneIconFile = icon,
+ NSPrefPaneIconLabel = 'Dolphin',
+ )))
else:
wxenv.Program("../../../../Binary/linux/Dolphin", files, LIBS = ["debwx", "discio", "core", "bdisasm", "videocommon", "common"])