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.

46 lines
830B

  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 git://github.com/DISTRHO/DPF
  12. for PLUGIN in ${PLUGINS[@]}; do
  13. git clone --depth 1 git://github.com/DISTRHO/$PLUGIN
  14. done
  15. cd ..
  16. rm -rf dpf
  17. rm -rf modguis
  18. rm -rf plugins
  19. mkdir plugins
  20. mv repos/DPF dpf
  21. rm -rf dpf/.git*
  22. rm -rf dpf/.travis*
  23. rm -rf dpf/examples
  24. rm -f dpf/Makefile
  25. for PLUGIN in ${PLUGINS[@]}; do
  26. for f in $(ls repos/$PLUGIN/plugins/); do
  27. mv repos/$PLUGIN/plugins/$f plugins/$f
  28. if [ -d plugins/$f ]; then
  29. cp repos/$PLUGIN/LICENSE plugins/$f/LICENSE
  30. fi
  31. done
  32. done
  33. rm -rf repos
  34. rm plugins/common/LICENSE