Migrate all libs (remove fdk-aac due to license issue and wavpack as no longer supported)

This commit is contained in:
Jerome Wu
2022-10-04 19:17:26 +08:00
parent 1fd52fd851
commit 03f14d866c
15 changed files with 358 additions and 7 deletions

15
build/freetype2.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -euo pipefail
CONF_FLAGS=(
--prefix=$INSTALL_DIR # install library in a build directory for FFmpeg to include
--host=x86_64-gnu # use i686 linux
--enable-shared=no # not to build shared library
--without-harfbuzz # disable harfbuzz as incompatible
)
emconfigure ./autogen.sh
emconfigure ./configure "${CONF_FLAGS[@]}"
# build apinames manually to prevent it built by emcc
gcc -o objs/apinames src/tools/apinames.c
emmake make install -j