Update rubberband build options

Signed-off-by: nanake <nanake@users.noreply.github.com>
This commit is contained in:
nanake 2022-11-04 21:04:44 +09:00 committed by BtbN
parent bbad7e7057
commit fd4fac0ec7

View file

@ -17,6 +17,8 @@ ffbuild_dockerbuild() {
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"
-Ddefault_library=static -Ddefault_library=static
-Dfft=fftw
-Dresampler=libsamplerate
) )
if [[ $TARGET == win* || $TARGET == linux* ]]; then if [[ $TARGET == win* || $TARGET == linux* ]]; then
@ -31,9 +33,6 @@ ffbuild_dockerbuild() {
meson "${myconf[@]}" .. meson "${myconf[@]}" ..
ninja -j$(nproc) ninja -j$(nproc)
ninja install ninja install
# Fix static linking
echo "Requires.private: fftw3 samplerate" >> "$FFBUILD_PREFIX"/lib/pkgconfig/rubberband.pc
} }
ffbuild_configure() { ffbuild_configure() {