|
123456789101112131415161718192021222324252627 |
- #!/bin/bash
-
- set -e
-
- JUCE_MODULES_DIR="/Shared/Personal/FOSS/GIT/DISTRHO/juce/modules"
- CARLA_MODULES_DIR="/Shared/Personal/FOSS/GIT/falkTX/Carla/source/modules"
-
- MODULES=("juce_audio_basics juce_audio_devices juce_audio_processors juce_core juce_data_structures juce_events juce_graphics juce_gui_basics juce_gui_extra")
-
- for M in $MODULES; do
- echo $CARLA_MODULES_DIR/$M;
- rm -f $CARLA_MODULES_DIR/$M/juce_*
- rm -rf $CARLA_MODULES_DIR/$M/{a..z}*
- cp -r -v $JUCE_MODULES_DIR/$M/* $CARLA_MODULES_DIR/$M/
- rm $CARLA_MODULES_DIR/$M/juce_*.mm
- done
-
- find $CARLA_MODULES_DIR -name juce_module_info -delete
- rm -rf $CARLA_MODULES_DIR/juce_*/native/java/
- rm -rf $CARLA_MODULES_DIR/juce_*/native/javaopt/
- rm -rf $CARLA_MODULES_DIR/juce_*/native/oboe/
-
- sed -i "s|Juce VST Host|Carla Plugin Host|" $CARLA_MODULES_DIR/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp
-
- rm -rf $CARLA_MODULES_DIR/../includes/vst3sdk
- mv $CARLA_MODULES_DIR/juce_audio_processors/format_types/VST3_SDK $CARLA_MODULES_DIR/../includes/vst3sdk
- rm -rf $CARLA_MODULES_DIR/../includes/vst3sdk/*.pdf
|