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