|
|
@@ -15,27 +15,19 @@ if [ -d /dev/shm ]; then |
|
|
|
export PATH=/usr/i686-apple-darwin10/bin/:$PATH |
|
|
|
else |
|
|
|
# MacOS |
|
|
|
export CC="gcc-mp-4.7" |
|
|
|
export CXX="g++-mp-4.7" |
|
|
|
export LDFLAGS="-L/usr/local/lib/" |
|
|
|
export PYUIC="pyuic4-3.3" |
|
|
|
export PYRCC="pyrcc4-3.3 -py3" |
|
|
|
. ./data/macos/env-vars.sh |
|
|
|
fi |
|
|
|
|
|
|
|
./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 |
|
|
|
# ./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 |
|
|
|
|
|
|
|
# Clean build |
|
|
|
make clean |
|
|
|
|
|
|
|
# Build PyQt4 resources |
|
|
|
# make $JOBS UI RES WIDGETS |
|
|
|
|
|
|
|
# Build discovery |
|
|
|
# make $JOBS -C source/discovery MACOS=true |
|
|
|
|
|
|
|
# Build backend |
|
|
|
# make $JOBS -C source/backend/standalone ../libcarla_standalone.dylib EXTRA_LIBS="-ldl" MACOS=true |
|
|
|
# DGL_LIBS="-framework OpenGL -framework Cocoa" HAVE_OPENGL=true |
|
|
|
# Build |
|
|
|
make $JOBS HAVE_FFMPEG=false HAVE_GTK2=false HAVE_GTK3=false |
|
|
|
|
|
|
|
# rm -rf ./data/macos/build |
|
|
|
|
|
|
@@ -50,14 +42,5 @@ make clean |
|
|
|
# cp ../../source/backend/*.dylib build/backend/ |
|
|
|
# cp ../../source/discovery/carla-discovery-* build/discovery/ |
|
|
|
|
|
|
|
# cp $WINEPREFIX/drive_c/windows/syswow64/python33.dll Carla/ |
|
|
|
# cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtCore4.dll Carla/ |
|
|
|
# cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtGui4.dll Carla/ |
|
|
|
# cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtOpenGL4.dll Carla/ |
|
|
|
# cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtSvg4.dll Carla/ |
|
|
|
# cp $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/QtXml4.dll Carla/ |
|
|
|
# cp -r $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/plugins/imageformats/ Carla/ |
|
|
|
# cp -r $WINEPREFIX/drive_c/Python33/Lib/site-packages/PyQt4/plugins/iconengines/ Carla/ |
|
|
|
|
|
|
|
# cd ../.. |
|
|
|
|