Browse Source

Add personal script to copy juce stuff

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
f9a4c4d36d
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      data/copy-juce

+ 27
- 0
data/copy-juce View File

@@ -0,0 +1,27 @@
#!/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

Loading…
Cancel
Save