diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-20 14:06:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-20 14:06:21 +0000 |
commit | 8badf7492efb696461f4649e2b4de38123f87c78 (patch) | |
tree | 276596139b3a6e5317d01bbca7b1d45f9dffa9a9 /tools | |
parent | 2430a50f82babc1434c886a2612c5a7e948b3127 (diff) |
copy MIDNAM patchfiles into linux and OS X bundles
git-svn-id: svn://localhost/ardour2/branches/3.0@12338 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/linux_packaging/build | 10 | ||||
-rwxr-xr-x | tools/osx_packaging/osx_build | 31 |
2 files changed, 36 insertions, 5 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 9f3649004b..cc5cf31f73 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -150,11 +150,11 @@ Panners=$APPLIB/panners ExportFormats=$Shared/export Locale=$Shared/locale MidiMaps=$Shared/midi_maps +PatchFiles=$Shared/patchfiles MackieControl=$Shared/mcp Modules=$Libraries/modules Loaders=$Libraries/loaders - if [ x$PRINT_SYSDEPS != x ] ; then # # print system dependencies @@ -187,6 +187,7 @@ mkdir -p $Shared mkdir -p $Locale mkdir -p $Surfaces mkdir -p $MidiMaps +mkdir -p $PatchFiles mkdir -p $MackieControl mkdir -p $ExportFormats mkdir -p $Panners @@ -466,6 +467,13 @@ for x in $BUILD_ROOT/../midi_maps/*.map ; do echo Copied MIDI map $x done +# MIDNAM Patch Files +# got to be careful with names here +for x in $BUILD_ROOT/../patchfiles/*.midnam ; do + cp "$x" $PatchFiles + echo Copied MIDNAM file "$x" +done + # MackieControl data # got to be careful with names here for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 4a4e8847d3..24c353997f 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -101,6 +101,7 @@ Plugins=$APPROOT/Plugins Surfaces=$APPROOT/Surfaces Panners=$APPROOT/Panners MidiMaps=$APPROOT/MidiMaps +PatchFiles=$APPROOT/PatchFiles MCP=$APPROOT/MCP ExportFormats=$APPROOT/ExportFormats Templates=$APPROOT/Templates @@ -291,12 +292,19 @@ cp $BUILD_ROOT/libs/clearlooks-newer/libclearlooks.dylib $Frameworks mkdir -p $Frameworks/clearlooks/engines (cd $Frameworks/clearlooks/engines && ln -s $BUILD_ROOT/libclearlooks.dylib libclearlooks.dylib && ln -s ../../libclearlooks.dylib libclearlooks.so) +# Control Surface shared libraries cp $BUILD_ROOT/libs/surfaces/*/libardour_*.dylib $Surfaces +# hack ... move libardour_cp back into Frameworks +mv $Surfaces/libardourcp*.dylib $Frameworks + +# Export formats cp $BUILD_ROOT/libs/panners/*/lib*.dylib $Panners (cd ../../export && for f in *.preset ; do echo ExportFormat: $f; cp "$f" ../tools/osx_packaging/$ExportFormats ; done) + +# Session and Route templates (cd $BUILD_ROOT/../templates && \ for f in * ; do if [ -d "$f" ] ; then @@ -304,11 +312,26 @@ done) fi done) -# MIDI maps -cp ../../midi_maps/*.map $MidiMaps +# MidiMaps +# got to be careful with names here +for x in $BUILD_ROOT/../midi_maps/*.map ; do + cp "$x" $MidiMaps + echo Copied MIDI map $x +done + +# MIDNAM Patch Files +# got to be careful with names here +for x in $BUILD_ROOT/../patchfiles/*.midnam ; do + cp "$x" $PatchFiles + echo Copied MIDNAM file "$x" +done -# Mackie support files -cp ../../mcp/*.{device,profile} $MCP +# MackieControl data +# got to be careful with names here +for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do + cp "$x" $MCP + echo Copied Mackie Control file $x +done # VAMP plugins that we use cp $BUILD_ROOT/libs/vamp-plugins/libardourvampplugins.dylib $Frameworks |