some more work for the Raspberry Pi setup script
This commit is contained in:
parent
0aef9be739
commit
360f5e90aa
2 changed files with 16 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -22,3 +22,4 @@ release/
|
||||||
deploy/
|
deploy/
|
||||||
Jamulus.app/
|
Jamulus.app/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
distributions/opus*
|
||||||
|
|
|
@ -1,15 +1,25 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script is intended to setup a clean Raspberry Pi system for running Jamulus
|
# This script is intended to setup a clean Raspberry Pi system for running Jamulus
|
||||||
|
|
||||||
# Opus audio codec, custom compilation with custom interface and fixed point
|
|
||||||
OPUS="opus-1.3"
|
OPUS="opus-1.3"
|
||||||
if [ ! -d "${OPUS}" ]; then
|
|
||||||
|
echo "TODO: sudo apt-get install [needed libraries for compilation and runtime]"
|
||||||
|
|
||||||
|
# Opus audio codec, custom compilation with custom modes and fixed point support
|
||||||
|
if [ -d "${OPUS}" ]; then
|
||||||
|
echo "The Opus directory is present, we assume it is compiled and ready to use. If not, delete the opus directory and call this script again."
|
||||||
|
else
|
||||||
wget https://archive.mozilla.org/pub/opus/${OPUS}.tar.gz
|
wget https://archive.mozilla.org/pub/opus/${OPUS}.tar.gz
|
||||||
tar -xzf ${OPUS}.tar.gz
|
tar -xzf ${OPUS}.tar.gz
|
||||||
rm ${OPUS}.tar.gz
|
rm ${OPUS}.tar.gz
|
||||||
cd ${OPUS}
|
cd ${OPUS}
|
||||||
|
./configure --enable-custom-modes --enable-fixed-point
|
||||||
echo "TODO: configure Opus for custom interface and fixed point and compile and install"
|
make
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# compile Jamulus with external Opus library
|
||||||
|
cd ..
|
||||||
|
qmake "CONFIG+=opus_shared_lib" Jamulus.pro
|
||||||
|
make
|
||||||
|
cd distrubutions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue