Collection of DPF-based plugins for packaging
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.

52 lines
932B

  1. #!/bin/bash
  2. set -e
  3. PLUGINS=("glBars" "Kars" "Mini-Series" "MVerb" "Nekobi" "ProM" "ndc-Plugs" "DPF-Max-Gen")
  4. if [ ! -f Makefile ]; then
  5. echo "Makefile not found, please run this script from DPF-Plugins root source dir"
  6. exit
  7. fi
  8. rm -rf repos
  9. mkdir repos
  10. cd repos
  11. git clone --depth 1 --recursive -b develop git://github.com/DISTRHO/DPF
  12. for PLUGIN in ${PLUGINS[@]}; do
  13. git clone --depth 1 git://github.com/DISTRHO/$PLUGIN
  14. done
  15. # special case for ProM
  16. cd ProM
  17. git submodule init
  18. git submodule update
  19. cd ..
  20. cd ..
  21. rm -rf dpf
  22. rm -rf modguis
  23. rm -rf plugins
  24. mkdir plugins
  25. mv repos/DPF dpf
  26. rm -rf dpf/.git*
  27. rm -rf dpf/.travis*
  28. rm -rf dpf/examples
  29. rm -f dpf/Makefile
  30. for PLUGIN in ${PLUGINS[@]}; do
  31. for f in $(ls repos/$PLUGIN/plugins/); do
  32. mv repos/$PLUGIN/plugins/$f plugins/$f
  33. if [ -d plugins/$f ]; then
  34. cp repos/$PLUGIN/LICENSE plugins/$f/LICENSE
  35. fi
  36. done
  37. done
  38. rm -rf repos
  39. rm plugins/common/LICENSE