summaryrefslogtreecommitdiff
path: root/release-macosx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release-macosx.sh')
-rwxr-xr-xrelease-macosx.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/release-macosx.sh b/release-macosx.sh
index 95223f9..f92e723 100755
--- a/release-macosx.sh
+++ b/release-macosx.sh
@@ -1,8 +1,12 @@
#!/bin/sh
# WARNING: This script might only work with the authors setup...
-VERSION=2009.11
+VERSION=2010.01
+echo "Building.."
+qmake VERSION=$VERSION
+make clean
+make -j2
echo "Preparing executable.."
mkdir OpenSCAD.app/Contents/Frameworks
cp ../OpenCSG-1.1.1/lib/libopencsg.dylib OpenSCAD.app/Contents/Frameworks
@@ -17,10 +21,12 @@ install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/..
install_name_tool -change QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui OpenSCAD.app/Contents/Frameworks/QtOpenGL
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore OpenSCAD.app/Contents/Frameworks/QtOpenGL
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore OpenSCAD.app/Contents/Frameworks/QtGui
- install_name_tool -change /opt/local/lib/libGLEW.1.5.1.dylib @executable_path/../Frameworks/libGLEW.1.5.1.dylib OpenSCAD.app/Contents/MacOS/openscad
+install_name_tool -change /opt/local/lib/libGLEW.1.5.1.dylib @executable_path/../Frameworks/libGLEW.1.5.1.dylib OpenSCAD.app/Contents/MacOS/openscad
+install_name_tool -id libopencsg.dylib OpenSCAD.app/Contents/Frameworks/libopencsg.dylib
install_name_tool -change /opt/local/lib/libGLEW.1.5.1.dylib @executable_path/../Frameworks/libGLEW.1.5.1.dylib OpenSCAD.app/Contents/Frameworks/libopencsg.dylib
install_name_tool -change QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui OpenSCAD.app/Contents/Frameworks/libopencsg.dylib
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore OpenSCAD.app/Contents/Frameworks/libopencsg.dylib
+install_name_tool -id libGLEW.1.5.1.dylib OpenSCAD.app/Contents/Frameworks/libGLEW.1.5.1.dylib
echo "Creating directory structure.."
rm -rf openscad-$VERSION
contact: Jan Huwald // Impressum