Changeset 90524


Ignore:
Timestamp:
Mar 8, 2012, 5:06:29 AM (7 years ago)
Author:
jmr@…
Message:

csound: fix case of CoreMIDI

Location:
trunk/dports/audio/csound
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/csound/Portfile

    r90507 r90524  
    3333
    3434patchfiles     SConstruct.patch pluginSDK_SConstruct.patch \
    35                custom-osx.py.patch InOut_widgets.cpp.patch
     35               custom-osx.py.patch InOut_widgets.cpp.patch CoreMIDI_case.patch
    3636post-patch {
    3737    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/custom-osx.py
  • trunk/dports/audio/csound/files/SConstruct.patch

    r90507 r90524  
    11--- SConstruct.orig     2012-02-13 18:17:02.000000000 +1100
    2 +++ SConstruct  2012-03-08 11:36:17.000000000 +1100
     2+++ SConstruct  2012-03-08 15:57:06.000000000 +1100
    33@@ -353,6 +353,7 @@
    44 fileOptions.Add('customLIBS')
     
    116116-    '''))
    117117+    # Append is behaving like AppendUnique and eating "duplicate" -framework args for some reason...
    118 +    for f in ['CoreMidi', 'CoreFoundation', 'CoreServices', 'CoreAudio']:
     118+    for f in ['CoreMIDI', 'CoreFoundation', 'CoreServices', 'CoreAudio']:
    119119+        pluginEnvironment.Append(FRAMEWORKS = [f])
    120120     # pluginEnvironment.Append(LINKFLAGS = ['-dynamiclib'])
     
    143143     if getPlatform() == 'darwin':
    144144-        csoundProgramEnvironment.Append(LINKFLAGS = Split('''-framework Carbon -framework CoreAudio -framework CoreMidi'''))
    145 +        for f in ['Carbon', 'CoreAudio', 'CoreMidi']:
     145+        for f in ['Carbon', 'CoreAudio', 'CoreMIDI']:
    146146+            csoundProgramEnvironment.Append(FRAMEWORKS = [f])
    147147 
     
    165165     luaOpcodes = makePlugin(luaEnvironment, 'LuaCsound',
    166166                                ['Opcodes/LuaCsound.cpp'])
     167@@ -2753,7 +2763,7 @@
     168         csWinEnvironment.Append(CXXFLAGS = ['-fno-rtti'])
     169         csWinEnvironment.Append(LIBS = ['fltk', 'stdc++', 'pthread', 'm'])
     170         csWinEnvironment.Append(LINKFLAGS = Split('''
     171-            -framework Carbon -framework CoreAudio -framework CoreMidi
     172+            -framework Carbon -framework CoreAudio -framework CoreMIDI
     173             -framework ApplicationServices
     174         '''))
     175         appDir = 'frontends/winsound/Winsound.app/Contents/MacOS'
  • trunk/dports/audio/csound/files/pluginSDK_SConstruct.patch

    r90507 r90524  
    11--- pluginSDK/SConstruct.orig   2012-02-13 18:17:02.000000000 +1100
    2 +++ pluginSDK/SConstruct        2012-03-08 11:34:58.000000000 +1100
     2+++ pluginSDK/SConstruct        2012-03-08 15:57:17.000000000 +1100
    33@@ -87,6 +87,7 @@
    44 opts.Add('customLIBS')
     
    4242-        -framework CoreMidi -framework CoreFoundation -framework CoreAudio
    4343-    '''))
    44 +    for f in ['CoreMidi', 'CoreFoundation', 'CoreAudio']:
     44+    for f in ['CoreMIDI', 'CoreFoundation', 'CoreAudio']:
    4545+        pluginEnvironment.Append(FRAMEWORKS = [f])
    4646     # pluginEnvironment.Append(LINKFLAGS = ['-dynamiclib'])
Note: See TracChangeset for help on using the changeset viewer.