opus: revert to using configure

This commit is contained in:
Rudi Heitbaum 2023-08-21 09:09:09 +00:00
parent 9fe9e7bc1a
commit 0d7b1bd972

View File

@ -9,16 +9,15 @@ PKG_SITE="http://www.opus-codec.org"
PKG_URL="https://github.com/xiph/opus/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz" PKG_URL="https://github.com/xiph/opus/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet." PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet."
PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="+pic" PKG_BUILD_FLAGS="+pic"
if [ "${TARGET_ARCH}" = "arm" ]; then if [ "${TARGET_ARCH}" = "arm" ]; then
PKG_FIXED_POINT="-Dfixed-point=true" PKG_FIXED_POINT="--enable-fixed-point"
else else
PKG_FIXED_POINT="-Dfixed-point=false" PKG_FIXED_POINT="--disable-fixed-point"
fi fi
PKG_MESON_OPTS_TARGET="-Ddefault_library=static \ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
-Ddocs=disabled \ --disable-shared \
-Dextra-programs=disabled \ ${PKG_FIXED_POINT}"
-Dtests=disabled \
${PKG_FIXED_POINT}"