Bug#798985: mpv: build with sndio support
Peter Piwowarski
peterjpiwowarski at gmail.com
Mon Sep 14 17:37:49 UTC 2015
Package: mpv
Version: 0.10.0-1
Severity: wishlist
Tags: patch
mpv supports audio output with the sndio API (www.sndio.org) upstream, and now that sndio is packaged in debian (src:sndio), mpv could be built with support for it. Dependencies are minimal, with libsndio6.0 pulling nothing that won't be on a system with mpv already (i.e. libbsd and things mpv itself depends on).
diff --git a/debian/control b/debian/control
index 7ac751b..0134e32 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,7 @@ Build-Depends: debhelper (>= 9),
libpulse-dev,
librubberband-dev,
libsdl2-dev,
+ libsndio-dev,
libswscale-dev (>= 7:2.4~),
libva-dev,
libvdpau-dev,
diff --git a/debian/rules b/debian/rules
index 03218c0..bc4efa9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ override_dh_auto_configure:
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--confdir=/etc/mpv \
--zshdir=/usr/share/zsh/vendor-completions \
- --enable-cdda --enable-sdl2 \
+ --enable-cdda --enable-sdl2 --enable-sndio \
--enable-zsh-comp --enable-libmpv-shared \
--disable-build-date
More information about the pkg-multimedia-maintainers
mailing list