# Note: depends on qtbase
# Note: depends on eigen
# Note: depends on opencsg
# Note: depends on qtmultimedia
# Note: depends on curl for https support in git
# Note: depends on git
# Note: depends on flex
# Note: depends on boost
# Note: depends on CGAL
# Note: depends on freetype
# Note: depends on harfbuzz (with freetype support)
# Note: depends on fontconfig
git clone https://github.com/openscad/openscad.git
cd openscad
git checkout c6a485651fa29f1a878ea454558192492f7467ec
sed -i -e '/scintilla/d' openscad.pro # Optional
qmake
sed -i -e 's@/usr/local@/usr@g' Makefile # Fix installation prefix
make # Doesn't mind -j#
make install