Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6KB

  1. #!/bin/bash
  2. set -e
  3. ORIG_ZYN_DIR="/home/falktx/Projects/FOSS/GIT-mine/zynaddsubfx-code"
  4. CARLA_ZYN_DIR="/home/falktx/Projects/FOSS/GIT-mine/Carla/source/native-plugins/zynaddsubfx"
  5. rm -f $CARLA_ZYN_DIR/*.cpp
  6. rm -f $CARLA_ZYN_DIR/*.h
  7. rm -f $CARLA_ZYN_DIR/Containers/*
  8. rm -f $CARLA_ZYN_DIR/DSP/*
  9. rm -f $CARLA_ZYN_DIR/Effects/*
  10. rm -f $CARLA_ZYN_DIR/Misc/*
  11. rm -f $CARLA_ZYN_DIR/Nio/*
  12. rm -f $CARLA_ZYN_DIR/Params/*
  13. rm -f $CARLA_ZYN_DIR/Synth/*
  14. rm -fr $CARLA_ZYN_DIR/UI/*
  15. rm -fr $CARLA_ZYN_DIR/rtosc/*
  16. rm -f $CARLA_ZYN_DIR/tlsf/*
  17. cp $ORIG_ZYN_DIR/src/*.cpp $CARLA_ZYN_DIR/
  18. cp $ORIG_ZYN_DIR/src/*.h $CARLA_ZYN_DIR/
  19. cp $ORIG_ZYN_DIR/src/Containers/* $CARLA_ZYN_DIR/Containers/
  20. cp $ORIG_ZYN_DIR/src/DSP/* $CARLA_ZYN_DIR/DSP/
  21. cp $ORIG_ZYN_DIR/src/Effects/* $CARLA_ZYN_DIR/Effects/
  22. cp $ORIG_ZYN_DIR/src/Misc/* $CARLA_ZYN_DIR/Misc/
  23. cp $ORIG_ZYN_DIR/src/Nio/* $CARLA_ZYN_DIR/Nio/
  24. cp $ORIG_ZYN_DIR/src/Params/* $CARLA_ZYN_DIR/Params/
  25. cp $ORIG_ZYN_DIR/src/Synth/* $CARLA_ZYN_DIR/Synth/
  26. cp -r $ORIG_ZYN_DIR/src/UI/* $CARLA_ZYN_DIR/UI/
  27. cp $ORIG_ZYN_DIR/rtosc/include/rtosc/* $CARLA_ZYN_DIR/rtosc/
  28. cp -r $ORIG_ZYN_DIR/rtosc/src/* $CARLA_ZYN_DIR/rtosc/
  29. cp $ORIG_ZYN_DIR/tlsf/*.h $CARLA_ZYN_DIR/tlsf/
  30. cp $ORIG_ZYN_DIR/tlsf/*.c $CARLA_ZYN_DIR/tlsf/
  31. rm $CARLA_ZYN_DIR/*/CMakeLists.txt
  32. rm $CARLA_ZYN_DIR/UI/zynaddsubfx.xpm
  33. sed -i "s|emplace_uint32(|emplace_uint32_cpp(|" $CARLA_ZYN_DIR/rtosc/cpp/subtree-serialize.cpp
  34. sed -i "s|../../include/rtosc/|../|" $CARLA_ZYN_DIR/rtosc/cpp/*.cpp
  35. sed -i "s|../../tlsf/tlsf.h|tlsf/tlsf.h|" $CARLA_ZYN_DIR/Misc/Allocator.cpp
  36. sed -i "s|../src/globals.h|globals.h|" $CARLA_ZYN_DIR/Misc/Config.cpp
  37. sed -i "s|identity|identity_ts|" $CARLA_ZYN_DIR/UI/Fl_Osc_TSlider.cpp