[MacPorts] #20353: Hydrogen portfile update request
MacPorts
noreply at macports.org
Fri Aug 7 10:36:56 PDT 2009
#20353: Hydrogen portfile update request
---------------------------------------+------------------------------------
Reporter: michieldelange@… | Owner: macports-tickets@…
Type: update | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Resolution: fixed | Keywords:
Port: hydrogen |
---------------------------------------+------------------------------------
Comment(by michieldelange@…):
By the way, I modified the Sconstruct file a little to also include
building Coremidi. Might be handy for a next version/patch?
[from line 72]
if sys.platform == "darwin" and str(env['coreaudio']) ==
"1": cppflags.append('-DCOREAUDIO_SUPPORT')
+ if sys.platform == "darwin" and str(env['coremidi']) ==
"1": cppflags.append('-DCOREMIDI_SUPPORT')
[from line 276]
if sys.platform == "darwin" and str(env['coreaudio']) == "1":
env.Append( LINKFLAGS =
['-framework','ApplicationServices'])
env.Append( LINKFLAGS = ['-framework','AudioUnit'])
env.Append( LINKFLAGS = ['-framework','Coreaudio'])
+ if sys.platform == "darwin" and str(env['coremidi']) == "1":
+ env.Append( LINKFLAGS =
['-framework','ApplicationServices'])
+ env.Append( LINKFLAGS = ['-framework','AudioUnit'])
+ env.Append( LINKFLAGS = ['-framework','Coreaudio'])
+ env.Append( LINKFLAGS = ['-framework','Coremidi'])
[from line 334]
#platform dependent settings
if sys.platform == "darwin":
opts.Add('coreaudio', 'Set to 1 to enable Coreaudio',1)
+ opts.Add('coremidi', 'Set to 1 to enable Coremidi',1)
[from line 487]
if sys.platform == "darwin":
print " coreaudio: " + printStatus( env["coreaudio"] )
+ print " coremidi: " + printStatus( env["coremidi"] )
--
Ticket URL: <http://trac.macports.org/ticket/20353#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list