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.

64 lines
2.2KB

  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. ./configure -prefix /Users/falktx/Source/Qt-5.2.1 -release -opensource -confirm-license -no-c++11 -no-javascript-jit -no-qml-debug -force-pkg-config -qt-zlib -no-mtdev -no-gif -qt-libpng -qt-libjpeg -qt-freetype -no-openssl -qt-pcre -no-xinput2 -no-xcb-xlib -no-glib -no-cups -no-iconv -no-icu -no-fontconfig -no-dbus -no-xcb -no-eglfs -no-directfb -no-linuxfb -no-kms -no-compile-examples -nomake examples -nomake tests -make tools -make libs -qt-sql-sqlite -no-framework -no-sql-odbc
  21. # Clean build
  22. make clean
  23. # Build PyQt4 resources
  24. # make $JOBS UI RES WIDGETS
  25. # Build discovery
  26. # make $JOBS -C source/discovery MACOS=true
  27. # Build backend
  28. # make $JOBS -C source/backend/standalone ../libcarla_standalone.dylib EXTRA_LIBS="-ldl" MACOS=true
  29. # DGL_LIBS="-framework OpenGL -framework Cocoa" HAVE_OPENGL=true
  30. # rm -rf ./data/macos/build
  31. # Build Mac App
  32. # cd data/macos
  33. # python3.3 setup.py build
  34. # cxfreeze-3.3 --target-dir=./data/macos/Carla ./source/carla.py --include-modules=re,sip
  35. # mkdir build/backend
  36. # mkdir build/bridges
  37. # mkdir build/discovery
  38. # cp ../../source/backend/*.dylib build/backend/
  39. # cp ../../source/discovery/carla-discovery-* build/discovery/
  40. # cp $WINEPREFIX/drive_c/windows/syswow64/python33.dll Carla/
  41. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtCore4.dll Carla/
  42. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtGui4.dll Carla/
  43. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtOpenGL4.dll Carla/
  44. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtSvg4.dll Carla/
  45. # cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtXml4.dll Carla/
  46. # cp -r $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/plugins/imageformats/ Carla/
  47. # cp -r $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/plugins/iconengines/ Carla/
  48. # cd ../..