From 28faa0de0f789340b2c5327187f17dc2a613686a Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Mon, 3 Jul 2017 14:31:27 -0700 Subject: [PATCH] OSC: Add system osc preset directory --- tools/linux_packaging/build | 8 ++++++++ tools/osx_packaging/osx_build | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index d4574b07f4..da3ba72e5e 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -192,6 +192,7 @@ MidiMaps=$Shared/midi_maps PatchFiles=$Shared/patchfiles LuaScripts=$Shared/scripts MackieControl=$Shared/mcp +OSC=$Shared/osc if [ x$PRINT_SYSDEPS != x ] ; then # @@ -226,6 +227,7 @@ mkdir -p $MidiMaps mkdir -p $PatchFiles mkdir -p $LuaScripts mkdir -p $MackieControl +mkdir -p $OSC mkdir -p $ExportFormats mkdir -p $Panners mkdir -p $Backends @@ -390,6 +392,12 @@ for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do cp "$x" $MackieControl done +# OSC data +# got to be careful with names here +for x in $BUILD_ROOT/../osc/*.preset ; do + cp "$x" $OSC +done + # Templates #for f in $BUILD_ROOT/../templates/* ; do # if [ -d "$f" ] ; then diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 0bc63e7752..3e9b587c33 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -147,6 +147,7 @@ Templates=$Shared/templates PatchFiles=$Shared/patchfiles LuaScripts=$Shared/scripts MackieControl=$Shared/mcp +OSC=$Shared/osc Themes=$Shared/themes if [ x$PRINT_SYSDEPS != x ] ; then @@ -183,6 +184,7 @@ mkdir -p $Templates mkdir -p $Frameworks/modules mkdir -p $Etc mkdir -p $MackieControl +mkdir -p $OSC mkdir -p $PatchFiles mkdir -p $LuaScripts mkdir -p $Themes @@ -382,6 +384,12 @@ for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do cp "$x" $MackieControl done +# OSC data +# got to be careful with names here +for x in $BUILD_ROOT/../osc/*.preset ; do + cp "$x" $OSC +done + # VAMP plugins that we use cp $BUILD_ROOT/libs/vamp-plugins/libardourvampplugins.dylib $Frameworks