mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #1624 from MilhouseVH/fix_neon_aarch64
aarch64/neon: update neon checks in ffmpeg and pulseaudio
This commit is contained in:
commit
7551fb57f5
@ -46,7 +46,8 @@ else
|
|||||||
PULSEAUDIO_AVAHI="--disable-avahi"
|
PULSEAUDIO_AVAHI="--disable-avahi"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TARGET_FPU" = "neon" -o "$TARGET_FPU" = "neon-fp16" -o "$TARGET_FPU" = "neon-vfpv4" ]; then
|
# PulseAudio fails to build on aarch64 when NEON is enabled, so don't enable NEON for aarch64 until upstream supports it
|
||||||
|
if echo "$TARGET_FPU" | grep -q '^neon'; then
|
||||||
PULSEAUDIO_NEON="--enable-neon-opt"
|
PULSEAUDIO_NEON="--enable-neon-opt"
|
||||||
else
|
else
|
||||||
PULSEAUDIO_NEON="--disable-neon-opt"
|
PULSEAUDIO_NEON="--disable-neon-opt"
|
||||||
|
@ -68,14 +68,11 @@ case "$TARGET_ARCH" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$TARGET_FPU" in
|
if echo "$TARGET_FPU" | grep -q '^neon' || [[ "$TARGET_ARCH" = "aarch64" ]]; then
|
||||||
neon*)
|
FFMPEG_FPU="--enable-neon"
|
||||||
FFMPEG_FPU="--enable-neon"
|
else
|
||||||
;;
|
FFMPEG_FPU="--disable-neon"
|
||||||
*)
|
fi
|
||||||
FFMPEG_FPU="--disable-neon"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||||
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"
|
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user