some fixes for compilation

This commit is contained in:
Volker Fischer 2019-09-28 06:23:11 +01:00
parent 83bed4d2a3
commit 6f78c100ca

View file

@ -5,7 +5,7 @@ OPUS="opus-1.1"
NCORES=$(nproc)
# install required packages
pkgs='build-essential qt5-default libasound-dev cmake libglib2.0-dev'
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
@ -66,7 +66,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" Jamulus.pro
make -j${NCORES}
# get first USB audio sound card device