Adopt lerna and typescript

This commit is contained in:
Jerome Wu
2022-09-13 17:23:21 +08:00
parent d2ea0066a7
commit 94bb51d073
139 changed files with 35770 additions and 11094 deletions

37
build/ffmpeg.sh Executable file
View File

@@ -0,0 +1,37 @@
#!/bin/bash
EXTRA_CONF_FLAGS=(
--disable-pthreads
--disable-w32threads
--disable-os2threads
)
if [[ ! -z "$FFMPEG_MT" ]]; then
EXTRA_CONF_FLAGS=()
fi
emconfigure ./configure \
--target-os=none \
--arch=x86_32 \
--enable-cross-compile \
--disable-asm \
--disable-stripping \
--disable-programs \
--disable-doc \
--disable-debug \
--disable-runtime-cpudetect \
--disable-autodetect \
--extra-cflags="$CFLAGS" \
--extra-cxxflags="$CFLAGS" \
--nm="llvm-nm" \
--ar=emar \
--ranlib=emranlib \
--cc=emcc \
--cxx=em++ \
--objcc=emcc \
--dep-cc=emcc \
${EXTRA_CONF_FLAGS[@]} \
--enable-gpl \
--enable-libx264
emmake make -j