diff --git a/.travis.yml b/.travis.yml index 831ffaf8..a88e1381 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ matrix: # repo: corrados/jamulus # tags: true - os: osx - osx_image: xcode7.2 + osx_image: xcode11 before_install: - brew install qt5 - brew link qt5 --force diff --git a/distributions/raspijamulus.sh b/distributions/raspijamulus.sh index 244725f6..5a6fbe73 100755 --- a/distributions/raspijamulus.sh +++ b/distributions/raspijamulus.sh @@ -5,7 +5,7 @@ OPUS="opus-1.1" NCORES=$(nproc) # install required packages -pkgs='build-essential qt5-default' +pkgs='alsamixergui build-essential qt5-default libasound2-dev cmake libglib2.0-dev' if ! dpkg -s $pkgs >/dev/null 2>&1; then read -p "Do you want to install missing packages? " -n 1 -r echo @@ -43,6 +43,14 @@ else cp build/common/*.so build/jack cp build/example-clients/*.so build/jack cd .. + + # give audio group rights to do realtime + if grep -Fq "@audio" /etc/security/limits.conf; then + echo "audio group already has realtime rights" + else + sudo sh -c 'echo "@audio - rtprio 95" >> /etc/security/limits.conf' + sudo sh -c 'echo "@audio - memlock unlimited" >> /etc/security/limits.conf' + fi fi # optional: FluidSynth synthesizer @@ -66,7 +74,7 @@ fi # compile Jamulus with external Opus library cd .. -qmake "CONFIG+=opus_shared_lib" "INCLUDEPATH+=distributions/${OPUS}/include" "QMAKE_LIBDIR+=distributions/${OPUS}/.libs" Jamulus.pro +qmake "CONFIG+=opus_shared_lib" "INCLUDEPATH+=distributions/${OPUS}/include" "QMAKE_LIBDIR+=distributions/${OPUS}/.libs" "INCLUDEPATH+=distributions/jack2/common" "QMAKE_LIBDIR+=distributions/jack2/build/common" Jamulus.pro make -j${NCORES} # get first USB audio sound card device