Files
core_libraries/resources/packages/speexdsp/prepare
Timothy Prepscius b308a4c280 flatten 20260225
2026-02-25 13:00:25 -05:00

29 lines
573 B
Plaintext
Executable File

set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p sdk/include
LIB=speexdsp
mkdir $LIB
pushd $LIB
git clone --depth 1 https://gitlab.xiph.org/xiph/speexdsp.git --branch SpeexDSP-1.2.1
cp -av $DIR/Makefile.* $LIB/
cp -av $DIR/config.h $LIB/include/
cp -av $DIR/speexdsp_config_types.h speexdsp/include/speex/speexdsp_config_types.h
mv $LIB/Makefile $LIB/Makefile.no
ln -s $DIR/../../Makefile-template $LIB/Makefile
pushd speexdsp
make
popd
popd
pushd sdk/include
ln -fs ../../speexdsp/speexdsp/include/speex speexdsp
popd