Subject: Bug#710029: pulseaudio: unbuildable on !linux archs

From: Pino Toscano <[email-masked]>
Date: Mon, 27 May 2013 18:02:09 +0200

Source: pulseaudio
Version: 3.0-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Hi,

pulseaudio 3.0-1 cannot be built on non-Linux archs because of the
libsbc-dev B-D (built from sbc, which is Linux-specific).

The attached patch limits the libsbc-dev B-D as linux-any, making it
built on non-Linux archs (at least, I tested it on hurd-i386).

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,7 @@ Build-Depends: debhelper (>= 8.1.3),
     libltdl-dev (>= 2.2.6a-2),
     liborc-0.4-dev (>= 1:0.4.11),
     libsamplerate0-dev,
-    libsbc-dev,
+    libsbc-dev [linux-any],
     libsndfile1-dev (>= 1.0.20),
     libspeexdsp-dev (>= 1.2~rc1),
     libssl-dev,