Ver 3: Build script for Sonic Pi 3.2.0 for Raspberry Pi

I have put a different set of patches on my website and if you substitute the qt folder contained in these for the qt folder contained in sp32RPiPatches then the build should include libaubio5 which will be stored in the folder /app/server/native/lib
you can get them from wget http://r.newman.ch/rpi/sp32scripts.tar.gz
If you extract the folder tar zxf sp32scripts.tar.gz you should then use the contained folder qt instead of the qt folder inside the sp32RPiPatches folder for building on Ubuntu 18.0.4

For Ubuntu 18.04.4 I installed cmake using https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.sh
and installed it in /opt/cmake/cmake-3.16.4-Linux-x86_64/

I did a ln -s /opt/cmake/cmake-3.16.4-Linux-x86_64/bin/cmake /usr/local/bin/cmake

for ruby I installed rvm using this page https://github.com/rvm/ubuntu_rvm
following the instructions on the page.
I then did rvm install 2.6.3-dev
and made it the default ruby using
rvm --default use 2.6.3-dev

The packages installed I think were.

sudo apt-get install -y \
     g++  pkg-config git build-essential jackd libjack-jackd2-dev \
     libsndfile1-dev libasound2-dev libavahi-client-dev libicu-dev \
     libreadline6-dev libfftw3-dev libxt-dev libudev-dev  \
     libqt5svg5-dev qt5-qmake qt5-default libqt5websockets5-dev qtwebengine5-dev \
     qttools5-dev qttools5-dev-tools qtdeclarative5-dev libqt5webkit5-dev \
     qtpositioning5-dev libqt5sensors5-dev qtmultimedia5-dev libffi-dev \
     libqt5opengl5-dev curl python erlang-base qjackctl

I’m working on a script similar to the Raspberry Pi one to put all this together.
You also need to build supercollider and sc3-plugins. I used version 3.10.4 and
3.10.0 respectively.