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.

43 lines
794B

  1. #!/bin/bash
  2. set -e
  3. PLUGINS=("Kars" "Mini-Series" "MVerb" "Nekobi" "ProM" "ndc-Plugs")
  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 modguis
  20. mkdir plugins
  21. mv repos/DPF dpf
  22. rm -rf dpf/.git*
  23. for PLUGIN in ${PLUGINS[@]}; do
  24. if [ -d repos/$PLUGIN/modguis ]; then
  25. mv repos/$PLUGIN/modguis/* modguis/
  26. fi
  27. mv repos/$PLUGIN/plugins/* plugins/
  28. mv plugins/Makefile.mk plugins/Makefile.$PLUGIN.mk
  29. sed -i "s/Makefile.mk/Makefile.$PLUGIN.mk/" plugins/*/Makefile
  30. done
  31. rm -rf repos