-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
40 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh -eu | ||
## Install speex and speexdsp | ||
## | ||
## Normally try to use git submodules present in the repository. If not possible | ||
## it tries to either clone (.git directory stripped) or to download release | ||
## (if git not found). | ||
|
||
if command -v pkg-config >/dev/null && pkg-config speexdsp; then | ||
echo "Using system SpeexDSP" | ||
exit 0 | ||
fi | ||
|
||
. $(dirname $0)/fetch_submodule.sh | ||
|
||
if fetch_submodule speexdsp http://downloads.us.xiph.org/releases/speex/speexdsp-1.2.0.tar.gz https://gitlab.xiph.org/xiph/speexdsp 1 | ||
then | ||
SUBMODULE_UPDATED=no | ||
else | ||
SUBMODULE_UPDATED=yes | ||
fi | ||
|
||
printf "Configuring speexdsp... " | ||
if [ -f ext-deps/speexdsp/include/speex/speexdsp_config_types.h -a $SUBMODULE_UPDATED = no ]; then | ||
echo "not needed" | ||
else | ||
cd ext-deps/speexdsp | ||
./autogen.sh | ||
./configure | ||
cd ../.. | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule speex
deleted from
870ff8