summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Johannes Nixdorf <mixi@exherbo.org> 2017-08-30 12:24:30 +0200
committerAvatar Johannes Nixdorf <mixi@exherbo.org> 2017-08-31 12:41:18 +0200
commit90e6a138122441d7b7351ad37ac02eb932b04c14 (patch)
tree1cf23c7d3434061f992eea127fea38538b6162f7
parent59fed9b8ff33e6bb35f5245ebd77e9e6e620d0af (diff)
downloadmedia-90e6a138122441d7b7351ad37ac02eb932b04c14.tar.gz
media-90e6a138122441d7b7351ad37ac02eb932b04c14.tar.xz
ffmpeg: add an option for sndio
-rw-r--r--packages/media/ffmpeg/ffmpeg.exlib6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/media/ffmpeg/ffmpeg.exlib b/packages/media/ffmpeg/ffmpeg.exlib
index d0be45a..269ed65 100644
--- a/packages/media/ffmpeg/ffmpeg.exlib
+++ b/packages/media/ffmpeg/ffmpeg.exlib
@@ -107,6 +107,7 @@ MYOPTIONS="
samba [[ description = [ Enable support for the Samba protocol via libsmbclient ] ]]
sdl [[ description = [ Support output through SDL ] ]]
sftp [[ description = [ SFTP protocol support via libssh ] ]]
+ sndio [[ description = [ Adds support for recording and playback through sndio (OpenBSD sound API, also ported to Linux) ] ]]
speex [[ description = [ Enable support for decoding and encoding audio using libspeex ] ]]
teletext [[ description = [ Teletext support via libzvbi ] ]]
theora [[ description = [ Enable support for encoding using the Theora Video Compression Codec ] ]]
@@ -198,6 +199,7 @@ DEPENDENCIES="
samba? ( net-fs/samba )
sdl? ( media-libs/SDL:2[>=2.0.1] )
sftp? ( net-libs/libssh )
+ sndio? ( sys-sound/sndio )
speex? ( media-libs/speex )
teletext? ( media-libs/zvbi )
theora? (
@@ -357,7 +359,6 @@ ffmpeg_src_configure() {
--disable-cuda
--disable-cuvid
--disable-decklink
- --disable-indev=sndio
--disable-libflite
--disable-libgme
--disable-libilbc
@@ -374,7 +375,6 @@ ffmpeg_src_configure() {
--disable-netcdf
--disable-omx
--disable-omx-rpi
- --disable-outdev=sndio
--disable-vda
# not tested
@@ -433,6 +433,8 @@ ffmpeg_src_configure() {
$(option_enable samba libsmbclient)
$(option_enable sdl sdl2)
$(option_enable sftp libssh)
+ $(option_enable sndio indev=sndio)
+ $(option_enable sndio outdev=sndio)
$(option_enable speex libspeex)
$(option_enable teletext libzvbi)
$(option_enable theora libtheora)