Add x265 and lame

This commit is contained in:
Jerome Wu
2022-10-04 14:53:42 +08:00
parent d5edbe9e5d
commit 1fd52fd851
6 changed files with 120 additions and 14 deletions

15
build/lame.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=i686-linux # use i686 linux
--disable-shared # disable shared library
--disable-frontend # exclude lame executable
--disable-analyzer-hooks # exclude analyzer hooks
--disable-dependency-tracking # speed up one-time build
--disable-gtktest
)
CFLAGS=$CFLAGS emconfigure ./configure "${CONF_FLAGS[@]}"
emmake make install -j