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.

34 lines
1.0KB

  1. #!/bin/bash
  2. set -e
  3. cd $(dirname ${0})
  4. cd ..
  5. CARLA_DIR=$(pwd)
  6. DISTRHO_PORTS_DIR=/tmp/distrho-ports-carla
  7. rm -rf ${DISTRHO_PORTS_DIR}
  8. git clone git@github.com:DISTRHO/DISTRHO-Ports.git ${DISTRHO_PORTS_DIR} --depth=1
  9. CARLA_MODULES_DIR=${CARLA_DIR}/source/modules
  10. JUCE_MODULES_DIR=${DISTRHO_PORTS_DIR}/libs/juce7/source/modules
  11. MODULES=("juce_audio_basics juce_audio_devices juce_audio_formats juce_audio_processors juce_core juce_data_structures juce_dsp juce_events juce_graphics juce_gui_basics juce_gui_extra")
  12. for M in ${MODULES}; do
  13. echo ${CARLA_MODULES_DIR}/${M};
  14. rm -f ${CARLA_MODULES_DIR}/${M}/juce_*
  15. rm -rf ${CARLA_MODULES_DIR}/${M}/{a..z}*
  16. cp -r -v ${JUCE_MODULES_DIR}/${M}/* ${CARLA_MODULES_DIR}/${M}/
  17. rm ${CARLA_MODULES_DIR}/${M}/juce_*.mm
  18. done
  19. find ${CARLA_MODULES_DIR} -name juce_module_info -delete
  20. rm -rf ${CARLA_MODULES_DIR}/../includes/vst3sdk
  21. mv ${CARLA_MODULES_DIR}/juce_audio_processors/format_types/VST3_SDK ${CARLA_MODULES_DIR}/../includes/vst3sdk
  22. rm -rf ${CARLA_MODULES_DIR}/../includes/vst3sdk/*.pdf
  23. # rm -rf ${DISTRHO_PORTS_DIR}