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.

51 lines
2.4KB

  1. #!/bin/bash
  2. set -e
  3. cd $(dirname ${0})
  4. cd ..
  5. CARLA_DIR=$(pwd)
  6. DPF_DIR=/tmp/dpf-carla
  7. rm -rf ${DPF_DIR}
  8. git clone git@github.com:DISTRHO/DPF.git ${DPF_DIR} --depth=1 --recursive -b develop
  9. cp -v ${DPF_DIR}/dgl/*.hpp ${CARLA_DIR}/source/modules/dgl/
  10. cp -v ${DPF_DIR}/dgl/src/*.cpp ${CARLA_DIR}/source/modules/dgl/src/
  11. cp -v ${DPF_DIR}/dgl/src/*.hpp ${CARLA_DIR}/source/modules/dgl/src/
  12. cp -v ${DPF_DIR}/distrho/*.cpp ${CARLA_DIR}/source/modules/distrho/
  13. cp -v ${DPF_DIR}/distrho/*.hpp ${CARLA_DIR}/source/modules/distrho/
  14. cp -v ${DPF_DIR}/distrho/src/*.cpp ${CARLA_DIR}/source/modules/distrho/src/
  15. cp -v ${DPF_DIR}/distrho/src/*.hpp ${CARLA_DIR}/source/modules/distrho/src/
  16. cp -v ${DPF_DIR}/distrho/extra/LeakDetector.hpp ${CARLA_DIR}/source/modules/distrho/extra/
  17. cp -v ${DPF_DIR}/distrho/extra/ScopedPointer.hpp ${CARLA_DIR}/source/modules/distrho/extra/
  18. cp -v ${DPF_DIR}/distrho/extra/ScopedSafeLocale.hpp ${CARLA_DIR}/source/modules/distrho/extra/
  19. cp -v ${DPF_DIR}/distrho/extra/String.hpp ${CARLA_DIR}/source/modules/distrho/extra/
  20. cp -r -v ${DPF_DIR}/dgl/src/pugl-upstream/include ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/
  21. cp -r -v ${DPF_DIR}/dgl/src/pugl-upstream/src ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/
  22. cp -r -v ${DPF_DIR}/dgl/src/pugl-upstream/AUTHORS ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/
  23. cp -r -v ${DPF_DIR}/dgl/src/pugl-upstream/COPYING ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/
  24. rm ${CARLA_DIR}/source/modules/dgl/Cairo.hpp
  25. rm ${CARLA_DIR}/source/modules/dgl/FileBrowserDialog.hpp
  26. rm ${CARLA_DIR}/source/modules/dgl/Vulkan.hpp
  27. rm ${CARLA_DIR}/source/modules/dgl/src/Cairo.cpp
  28. rm ${CARLA_DIR}/source/modules/dgl/src/Vulkan.cpp
  29. rm ${CARLA_DIR}/source/modules/dgl/src/Resources.{cpp,hpp}
  30. rm ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/src/.clang-tidy
  31. rm ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/include/.clang-tidy
  32. rm ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/include/meson.build
  33. rm ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/include/pugl/cairo.h
  34. rm ${CARLA_DIR}/source/modules/dgl/src/pugl-upstream/include/pugl/vulkan.h
  35. rm ${CARLA_DIR}/source/modules/distrho/DistrhoInfo.hpp
  36. rm ${CARLA_DIR}/source/modules/distrho/src/DistrhoPlugin{JACK,LADSPA+DSSI,LV2,LV2export,VST2,VST3}.cpp
  37. rm ${CARLA_DIR}/source/modules/distrho/src/DistrhoPluginVST.hpp
  38. rm ${CARLA_DIR}/source/modules/distrho/src/DistrhoUI{DSSI,LV2,VST3}.cpp
  39. rm -rf ${DPF_DIR}