flatten 20260225
This commit is contained in:
28
resources/packages/speex/prepare
Executable file
28
resources/packages/speex/prepare
Executable file
@@ -0,0 +1,28 @@
|
||||
set -x
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=speex
|
||||
|
||||
mkdir $LIB
|
||||
pushd $LIB
|
||||
|
||||
git clone --depth 1 https://gitlab.xiph.org/xiph/speex.git --branch Speex-1.2.1
|
||||
|
||||
cp -av $DIR/Makefile.* $LIB/
|
||||
cp -av $DIR/config.h speex/include/
|
||||
cp -av $DIR/speex_config_types.h speex/include/speex/speex_config_types.h
|
||||
|
||||
ln -s $DIR/../../Makefile-template speex/Makefile
|
||||
|
||||
pushd speex
|
||||
make
|
||||
popd
|
||||
|
||||
popd
|
||||
|
||||
pushd sdk/include
|
||||
ln -fs ../../speex/speex/include/speex speex
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user