pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mpv: Add an openal option (for openal ao)
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Dec 8 13:03:16 2020 +0100
Changeset: 4fef8ecf065f6efed64414a0e6fb1defdbd49de4
Modified Files:
mpv/options.mk
Log Message:
mpv: Add an openal option (for openal ao)
Thanks <nia> for pointing it out!
(For the moment it is disabled by default)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4fef8ecf065f6efed64414a0e6fb1defdbd49de4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mpv/options.mk | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diffs:
diff --git a/mpv/options.mk b/mpv/options.mk
index 80410218a2..b07907378f 100644
--- a/mpv/options.mk
+++ b/mpv/options.mk
@@ -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)
###
Home |
Main Index |
Thread Index |
Old Index