summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Johannes Nixdorf <mixi@exherbo.org> 2017-08-02 10:28:34 +0200
committerAvatar Johannes Nixdorf <mixi@exherbo.org> 2017-08-31 12:41:18 +0200
commit59fed9b8ff33e6bb35f5245ebd77e9e6e620d0af (patch)
tree81e6c91fe337c029f65eb9a532f438557addc5eb
parent2df03b23c875e9af4c2e2174c4fe78ad50b426c5 (diff)
downloadmedia-59fed9b8ff33e6bb35f5245ebd77e9e6e620d0af.tar.gz
media-59fed9b8ff33e6bb35f5245ebd77e9e6e620d0af.tar.xz
mpv: add a sndio option
-rw-r--r--packages/media/mpv/mpv.exlib3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/media/mpv/mpv.exlib b/packages/media/mpv/mpv.exlib
index a00581f..290ab45 100644
--- a/packages/media/mpv/mpv.exlib
+++ b/packages/media/mpv/mpv.exlib
@@ -35,6 +35,7 @@ MYOPTIONS="
lua [[ description = [ Adds lua scripting support and an onscreen controller ] ]]
opengl
pulseaudio
+ sndio [[ description = [ Adds support for sound output through sndio (OpenBSD sound API, also ported to Linux) ] ]]
va [[ description = [ Adds support for decoding and presenting video using the Video Acceleration API ] ]]
vdpau [[ description = [ Adds support for presenting and decoding video using the VDPAU API (-vo=vdpau and -hwdec=vdpau) ]
requires = [ providers: ffmpeg ] ]]
@@ -75,6 +76,7 @@ DEPENDENCIES="
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
providers:libav? ( media/libav[>=12] )
pulseaudio? ( media-sound/pulseaudio[>=1.0] )
+ sndio? ( sys-sound/sndio )
va? ( x11-libs/libva[>=1.4.0][X?][opengl?][wayland?] )
vdpau? ( x11-libs/libvdpau[>=0.2] )
wayland? (
@@ -165,6 +167,7 @@ mpv_src_configure() {
--disable-wasapi
$(option_enable alsa)
$(option_enable pulseaudio pulse)
+ $(option_enable sndio)
## video
--disable-caca