default_pre_build        &&
cd  "$SOURCE_DIRECTORY"  &&

# Fix JACK xruns on program shutdown
patch -p0 < "$SCRIPT_DIRECTORY/shutdown_fix.diff"  &&

# Port to using LASH instead of LADCCA (yes, it's really this simple :))
local file                          &&
for file in $(find ./ -type f); do
  sed -i  "s/LADCCA/LASH/g"  $file  &&
  sed -i  "s/CCA/LASH/g"     $file  &&
  sed -i  "s/ladcca/lash/g"  $file  &&
  sed -i  "s/cca_/lash_/g"   $file
done
