mpv: Add an openal option (for openal ao)

Thanks <nia> for pointing it out!

(For the moment it is disabled by default)
This commit is contained in:
Leonardo Taccari 2020-12-08 13:03:16 +01:00
parent 77c2e6d221
commit 4fef8ecf06
1 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@ PKG_OPTIONS_OPTIONAL_GROUPS= gl
PKG_OPTIONS_GROUP.gl= opengl rpi
# audio outputs
PKG_SUPPORTED_OPTIONS+= alsa jack pulseaudio
PKG_SUPPORTED_OPTIONS+= alsa jack openal pulseaudio
# video outputs
PKG_SUPPORTED_OPTIONS+= caca libdrm wayland x11
# audio/video outputs
@ -97,6 +97,17 @@ WAF_CONFIGURE_ARGS+= --enable-jack
WAF_CONFIGURE_ARGS+= --disable-jack
.endif
###
### OpenAL support (audio output)
###
.if !empty(PKG_OPTIONS:Mopenal)
WAF_CONFIGURE_ARGS+= --enable-openal
.include "../../audio/openal-soft/buildlink3.mk"
.else
WAF_CONFIGURE_ARGS+= --disable-openal
.endif
###
### PulseAudio support (audio output)
###