[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006419: Patch: build with pulseaudio



Package: freedv
Version: 1.7.0-1
Tags: patch

Dear Maintainer,

the changelog for 1.7.0-1 suggests, that freedv is working with pulseaudio.
Unfortunately, you have to enable it explicitely. Please see attached patch.

I tested it with a backport to bullseye on amd64 (codec2 and freedv build
without changes). With this patch the pulseaudio sources and sinks are visible
in Audio Config. Audio can be used from the configured pulseaudio source.

Greetings,
Wolfgang
>From a15cdce1420de91090535778cec7a1da5b9729ea Mon Sep 17 00:00:00 2001
From: Wolfgang Kroener <debian@azog.de>
Date: Thu, 24 Feb 2022 12:39:10 +0100
Subject: [PATCH] Enable building with pulseaudio

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d935e00..931011c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export VER
 	dh $@ --builddir=Build --build-system=cmake
 
 override_dh_auto_configure:
-	dh_auto_configure --builddirectory=Build --buildsystem=cmake -- -DDEB_VERSION=$(VER) -DCMAKE_BUILD_TYPE=Debug -DUSE_STATIC_CODEC2=False -DUSE_STATIC_SPEEXDSP=False
+	dh_auto_configure --builddirectory=Build --buildsystem=cmake -- -DDEB_VERSION=$(VER) -DCMAKE_BUILD_TYPE=Debug -DUSE_STATIC_CODEC2=False -DUSE_STATIC_SPEEXDSP=False -DUSE_PULSEAUDIO=True
 
 false_override_dh_auto_install:
 	dh_auto_install
-- 
2.30.2


Reply to: