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) NCORES=$(nproc)
# install required packages # 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 if ! dpkg -s $pkgs >/dev/null 2>&1; then
read -p "Do you want to install missing packages? " -n 1 -r read -p "Do you want to install missing packages? " -n 1 -r
echo echo
@ -66,7 +66,7 @@ fi
# compile Jamulus with external Opus library # compile Jamulus with external Opus library
cd .. 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} make -j${NCORES}
# get first USB audio sound card device # get first USB audio sound card device