13
0

copy pre-defined export presets & formats into the correct location in the bundle

git-svn-id: svn://localhost/ardour2/branches/3.0@9264 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-04-02 14:17:44 +00:00
parent ee725fbe91
commit b3faa154b8
2 changed files with 13 additions and 2 deletions

View File

@ -342,7 +342,7 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
export_search_path (dir_path, "ARDOUR_PANNER_PATH", "/lib/panners");
export_search_path (dir_path, "ARDOUR_SURFACES_PATH", "/lib/surfaces");
export_search_path (dir_path, "ARDOUR_MIDIMAPS_PATH", "/share/midi_maps");
export_search_path (dir_path, "ARDOUR_EXPORT_FORMATS_PATH", "/share/exports");
export_search_path (dir_path, "ARDOUR_EXPORT_FORMATS_PATH", "/share/export");
path = dir_path;
path += "/lib/clearlooks";

View File

@ -147,6 +147,7 @@ Shared=$APPDIR/share
Plugins=$APPLIB/plugins
Surfaces=$APPLIB/surfaces
Panners=$APPLIB/panners
ExportFormats=$Shared/export
Locale=$Shared/locale
MidiMaps=$Shared/midi_maps
Modules=$Libraries/modules
@ -185,6 +186,7 @@ mkdir -p $Shared
mkdir -p $Locale
mkdir -p $Surfaces
mkdir -p $MidiMaps
mkdir -p $ExportFormats
mkdir -p $Panners
mkdir -p $Shared/templates
mkdir -p $Shared/doc
@ -438,7 +440,16 @@ cp $BUILD_ROOT/libs/surfaces/*/libardour*.so* $Surfaces
mv $Surfaces/libardourcp.so* $Libraries
# MidiMaps
cp $BUILD_ROOT/../../midi_maps/*.map $MidiMaps
# got to be careful with names here
for x in $BUILD_ROOT/../../midi_maps/*.map ; do
cp "$x" $MidiMaps
done
# ExportFormats
# got to be careful with names here
for x in $BUILD_ROOT/../../export/*.preset $BUILD_ROOT/../../export/*.format ; do
cp "$x" $ExportFormats
done
# Panners
cp $BUILD_ROOT/libs/panners/*/lib*.so* $Panners