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.

62 lines
1.7KB

  1. #!/bin/bash
  2. set -e
  3. JOBS="-j 2"
  4. if [ ! -f Makefile ]; then
  5. cd ../..
  6. fi
  7. if [ -d /dev/shm ]; then
  8. # Linux
  9. export CC="i686-apple-darwin10-gcc"
  10. export CXX="i686-apple-darwin10-g++"
  11. export PATH=/usr/i686-apple-darwin10/bin/:$PATH
  12. else
  13. # MacOS
  14. export CC="gcc-mp-4.7"
  15. export CXX="g++-mp-4.7"
  16. export LDFLAGS="-L/usr/local/lib/"
  17. export PYUIC="pyuic4-3.3"
  18. export PYRCC="pyrcc4-3.3 -py3"
  19. fi
  20. # Clean build
  21. make clean
  22. # Build PyQt4 resources
  23. # make $JOBS UI RES WIDGETS
  24. # Build discovery
  25. # make $JOBS -C source/discovery MACOS=true
  26. # Build backend
  27. # make $JOBS -C source/backend/standalone ../libcarla_standalone.dylib EXTRA_LIBS="-ldl" MACOS=true
  28. # DGL_LIBS="-framework OpenGL -framework Cocoa" HAVE_OPENGL=true
  29. # rm -rf ./data/macos/build
  30. # Build Mac App
  31. # cd data/macos
  32. # python3.3 setup.py build
  33. # cxfreeze-3.3 --target-dir=./data/macos/Carla ./source/carla.py --include-modules=re,sip
  34. # mkdir build/backend
  35. # mkdir build/bridges
  36. # mkdir build/discovery
  37. # cp ../../source/backend/*.dylib build/backend/
  38. # cp ../../source/discovery/carla-discovery-* build/discovery/
  39. # cp $WINEPREFIX/drive_c/windows/syswow64/python33.dll Carla/
  40. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtCore4.dll Carla/
  41. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtGui4.dll Carla/
  42. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtOpenGL4.dll Carla/
  43. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtSvg4.dll Carla/
  44. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtXml4.dll Carla/
  45. # cp -r $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/plugins/imageformats/ Carla/
  46. # cp -r $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/plugins/iconengines/ Carla/
  47. # cd ../..