diff options
| author | tmator <tmator@gmail.com> | 2008-08-12 23:17:29 +0000 |
|---|---|---|
| committer | tmator <tmator@gmail.com> | 2008-08-12 23:17:29 +0000 |
| commit | ac6d34cd10ca8d184abdfa4dabde9117b7fa2d55 (patch) | |
| tree | 1988c9817bb3e5edd6dd18d31a52c256d6a8af45 /Source/Core/DolphinWX/src/SConscript | |
| parent | f893f3f17bd6a9de5c8cc9edb1c213912c5428eb (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/DolphinWX/src/SConscript')
| -rw-r--r-- | Source/Core/DolphinWX/src/SConscript | 20 |
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"]) |
