Add soxr
This commit is contained in:
parent
27523d3705
commit
d354210896
3 changed files with 54 additions and 1 deletions
4
build.sh
4
build.sh
|
@ -25,12 +25,14 @@ for script in scripts.d/*.sh; do
|
|||
FF_CFLAGS+=" $(get_output $script cflags)"
|
||||
FF_CXXFLAGS+=" $(get_output $script cxxflags)"
|
||||
FF_LDFLAGS+=" $(get_output $script ldflags)"
|
||||
FF_LIBS+=" $(get_output $script libs)"
|
||||
done
|
||||
|
||||
FF_CONFIGURE="$(xargs <<< "$FF_CONFIGURE")"
|
||||
FF_CFLAGS="$(xargs <<< "$FF_CFLAGS")"
|
||||
FF_CXXFLAGS="$(xargs <<< "$FF_CXXFLAGS")"
|
||||
FF_LDFLAGS="$(xargs <<< "$FF_LDFLAGS")"
|
||||
FF_LIBS="$(xargs <<< "$FF_LIBS")"
|
||||
|
||||
rm -rf ffbuild
|
||||
mkdir ffbuild
|
||||
|
@ -44,7 +46,7 @@ docker run --rm -i -u "$(id -u):$(id -g)" -v $PWD/ffbuild:/ffbuild "$IMAGE" bash
|
|||
cd ffmpeg
|
||||
git checkout $GIT_BRANCH
|
||||
|
||||
./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$FFBUILD_TARGET_FLAGS $FF_CONFIGURE --extra-cflags="$FF_CFLAGS" --extra-cxxflags="$FF_CXXFLAGS" --extra-ldflags="$FF_LDFLAGS"
|
||||
./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$FFBUILD_TARGET_FLAGS $FF_CONFIGURE --extra-cflags="$FF_CFLAGS" --extra-cxxflags="$FF_CXXFLAGS" --extra-ldflags="$FF_LDFLAGS" --extra-libs="$FF_LIBS"
|
||||
make -j\$(nproc)
|
||||
make install
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue