mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
soxr: don't create libavutil dependency on ARM
When both SIMD/NEON optimized and non-SIMD resamplers are built soxr uses libavutil to do runtime CPU detection to switch between these. Avoid that by enabling only one of them depending on NEON availability. Also explicitly disable AVFFT to avoid picking up a dependency on libavcodec. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
@@ -32,4 +32,13 @@ PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DBUILD_EXAMPLES=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_TESTS=OFF"
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DWITH_AVFFT=OFF"
|
||||
|
||||
if [ "$TARGET_ARCH" = "arm" ]; then
|
||||
if target_has_feature neon; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DWITH_CR32=OFF"
|
||||
else
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DWITH_CR32S=OFF"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user