26 lines
381 B
Plaintext
Executable File
26 lines
381 B
Plaintext
Executable File
set -x
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p sdk/include
|
|
|
|
LIB=opus
|
|
|
|
mkdir $LIB
|
|
pushd $LIB
|
|
|
|
git clone --depth 1 https://gitlab.xiph.org/xiph/opus.git --branch v1.4
|
|
|
|
cp -av $DIR/Makefile.project opus/
|
|
ln -s $DIR/../../Makefile-template $LIB/Makefile
|
|
|
|
pushd opus
|
|
make
|
|
popd
|
|
|
|
popd
|
|
|
|
pushd sdk/include
|
|
ln -fs ../../opus/opus/include opus
|
|
popd
|
|
|