retroarch: make neon a global build option, default on armv7l only
This commit is contained in:
parent
bfa51a6c7c
commit
40a2173681
1 changed files with 2 additions and 3 deletions
|
@ -26,11 +26,12 @@ homepage="https://www.retroarch.com/"
|
|||
distfiles="https://github.com/libretro/RetroArch/archive/v$version.tar.gz"
|
||||
checksum=39d7ad9298c9487fb4848cd6a257c23a95ee85f83c75302f97bcc4797f154b6a
|
||||
|
||||
build_options="ffmpeg flac gles2 glslang jack miniupnpc opengl pulseaudio qt5 sdl2 vulkan wayland x11"
|
||||
build_options="ffmpeg flac gles2 glslang jack miniupnpc noen opengl pulseaudio qt5 sdl2 vulkan wayland x11"
|
||||
build_options_default="ffmpeg flac gles2 glslang miniupnpc opengl pulseaudio sdl2 vulkan wayland x11"
|
||||
|
||||
desc_option_glslang="Enable support for GLSL shaders"
|
||||
desc_option_miniupnpc="Enable support for NAT traversal"
|
||||
desc_option_neon="Enable support for ARM Neon SIMD extension"
|
||||
|
||||
if [ "$build_option_gles2" ]; then
|
||||
configure_args+=" --enable-opengles --enable-opengles3"
|
||||
|
@ -91,9 +92,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
configure_args+=" --enable-threads"
|
||||
;;
|
||||
armv7*)
|
||||
build_options+=" neon"
|
||||
build_options_default+=" neon"
|
||||
desc_option_neon="Enable support for ARM Neon SIMD extension"
|
||||
|
||||
configure_args+=" --enable-threads $(vopt_enable neon)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue