|
|
@@ -90,6 +90,19 @@ download flac "${FLAC_VERSION}" "https://ftp.osuosl.org/pub/xiph/releases/flac" |
|
|
|
patch_file flac "${FLAC_VERSION}" "configure" 's/amd64|x86_64/amd64|arm|x86_64/' |
|
|
|
build_autoconf flac "${FLAC_VERSION}" "${FLAC_EXTRAFLAGS}" |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# opus |
|
|
|
|
|
|
|
OPUS_EXTRAFLAGS="--disable-extra-programs --enable-custom-modes --enable-float-approx" |
|
|
|
|
|
|
|
# FIXME |
|
|
|
if [ "${MACOS_UNIVERSAL}" -eq 1 ]; then |
|
|
|
OPUS_EXTRAFLAGS+=" --disable-asm --disable-rtcd --disable-intrinsics" |
|
|
|
fi |
|
|
|
|
|
|
|
download opus "${OPUS_VERSION}" "https://archive.mozilla.org/pub/opus" |
|
|
|
build_autoconf opus "${OPUS_VERSION}" "${OPUS_EXTRAFLAGS}" |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# libsamplerate |
|
|
|
|
|
|
|