Commit 70dba705 authored by Jerome Wu's avatar Jerome Wu

Add comments in scripts

parent 20ecbb8c
......@@ -13,3 +13,6 @@
[submodule "third_party/WavPack"]
path = third_party/WavPack
url = https://github.com/ffmpegwasm/WavPack
[submodule "third_party/lame"]
path = third_party/lame
url = https://github.com/ffmpegwasm/lame
Subproject commit 2badea1974ae36cb8312afe99cff1e6b3b5decee
......@@ -7,13 +7,13 @@ LIB_PATH=third_party/WavPack
FLAGS="-s USE_PTHREADS=1 $OPTIM_FLAGS"
CONF_FLAGS=(
--prefix=$BUILD_DIR # install library in a build directory for FFmpeg to include
--host=x86-linux-gnu
--host=x86-linux-gnu # use x86 linux as host
--disable-asm # disable asm optimization
--disable-man
--disable-tests
--disable-apps
--disable-dsd
--enable-legacy
--disable-man # disable docs
--disable-tests # disable tests
--disable-apps # disable wavpack apps
--disable-dsd # disalbe legacy
--enable-legacy # enable compability for old version of wav
--disable-shared # enable building static library
)
echo "CONF_FLAGS=${CONF_FLAGS[@]}"
......
......@@ -2,6 +2,7 @@
cmds=()
# Detect what dependencies are missing.
for cmd in autoconf automake libtool
do
if ! command -v $cmd &> /dev/null
......@@ -10,6 +11,7 @@ do
fi
done
# Install missing dependencies
if [ ${#cmds[@]} -ne 0 ];
then
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment