Source: openal-soft
Severity: wishlist
Tags: patch

Now that the "real" sndio implementation is packaged in Debian, openal
could build support for it again.

Playback works fine in my testing, but requires that sndio be specifically
enabled in alsoft.conf/.alsoftrc. I'm not sure if this should be documented
somewhere, or made more intuitive with a source patch.

diff --git a/debian/control b/debian/control
index e7a1f40..2247edc 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders: Bruno "Fuddl" Kleinert <fu...@tauware.de>,
            Bret Curtis <psi...@gmail.com>
 Build-Depends: debhelper (>= 9),
                libasound2-dev [linux-any],
-               cmake, portaudio19-dev, libpulse-dev,
+               cmake, portaudio19-dev, libpulse-dev, libsndio-dev
 Standards-Version: 3.9.6
 Section: libs
 Vcs-Git: git://anonscm.debian.org/pkg-games/openal-soft.git
diff --git a/debian/rules b/debian/rules
index bf0ff68..56fef4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ DLOPENED_RECOMMENDS_LIBS = -lpulse
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 DLOPENED_RECOMMENDS_LIBS += -lasound
 endif
-DLOPENED_SUGGESTS_LIBS = -lportaudio
+DLOPENED_SUGGESTS_LIBS = -lportaudio -lsndio
 
 .PHONY: build
 %:

Reply via email to