mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
wxWidgets 2.9.2 works with _("") strings for command-line arguments.
Optimize the OS X build for Core 2 CPU's. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6808 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -69,7 +69,9 @@ elif sys.platform == 'darwin' and env['HAVE_WX']:
|
||||
exeGUI = '#' + env['prefix'] + '/Dolphin.app/Contents/MacOS/Dolphin'
|
||||
|
||||
env.Install('#' + env['prefix'] + '/Dolphin.app/Contents/' +
|
||||
'Library/Frameworks', '#Externals/Cg/Cg.framework')
|
||||
'Library/Frameworks/Cg.framework',
|
||||
source = [ '#Externals/Cg/Cg.framework/Cg',
|
||||
'#Externals/Cg/Cg.framework/Resources' ])
|
||||
|
||||
env.Install(env['data_dir'], '#Data/Sys')
|
||||
env.Install(env['data_dir'], '#Data/User')
|
||||
@ -82,12 +84,12 @@ elif sys.platform == 'darwin' and env['HAVE_WX']:
|
||||
for po in po_files:
|
||||
index_lo = po.find('Languages/') + len('Languages/')
|
||||
index_hi = po.find('.po')
|
||||
lang = po[index_lo:index_hi]
|
||||
mo_dir = env['build_dir'] + '/Languages/' + lang + '.lproj'
|
||||
lproj = os.sep + po[index_lo:index_hi] + '.lproj'
|
||||
mo_dir = env['build_dir'] + '/Languages' + lproj
|
||||
mo_file = mo_dir + '/dolphin-emu.mo'
|
||||
env.Command('#' + mo_file, po, 'mkdir -p ' + mo_dir +
|
||||
' && msgfmt -o ' + mo_file + ' ' + po)
|
||||
env.Install(env['data_dir'] + '/' + lang + '.lproj', '#' + mo_file)
|
||||
' && ' + msgfmt + ' -o ' + mo_file + ' ' + po)
|
||||
env.Install(env['data_dir'] + lproj, '#' + mo_file)
|
||||
|
||||
from plistlib import writePlist
|
||||
def createPlist(target, source, env):
|
||||
|
Reference in New Issue
Block a user