OpenVoiceOS/buildroot-patches/0006-Enable-pulseaudio-alsa...

37 lines
1.1 KiB
Diff
Raw Normal View History

2022-12-13 12:39:58 +01:00
From e7e329146b36c2ea41af506601ca2511c1156a0a Mon Sep 17 00:00:00 2001
2022-05-12 10:44:08 +02:00
From: j1nx <p.steenbergen@j1nx.nl>
2022-12-13 12:39:58 +01:00
Date: Tue, 13 Dec 2022 12:10:13 +0100
Subject: [PATCH 1/1] Add pulseaudio support to alsa-plugins
2022-05-12 10:44:08 +02:00
---
2022-12-13 12:39:58 +01:00
package/alsa-plugins/alsa-plugins.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
2022-05-12 10:44:08 +02:00
diff --git a/package/alsa-plugins/alsa-plugins.mk b/package/alsa-plugins/alsa-plugins.mk
2022-12-13 12:39:58 +01:00
index 396f47adaf..0f19f7dcce 100644
2022-05-12 10:44:08 +02:00
--- a/package/alsa-plugins/alsa-plugins.mk
+++ b/package/alsa-plugins/alsa-plugins.mk
2022-12-13 12:39:58 +01:00
@@ -14,7 +14,6 @@ ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib
2022-05-12 10:44:08 +02:00
ALSA_PLUGINS_CONF_OPTS = \
--disable-jack \
--disable-usbstream \
- --disable-pulseaudio \
2022-12-13 12:39:58 +01:00
--disable-libav \
2022-05-12 10:44:08 +02:00
--disable-maemo-plugin \
--disable-maemo-resource-manager \
2022-12-13 12:39:58 +01:00
@@ -29,4 +28,11 @@ else
ALSA_PLUGINS_CONF_OPTS += --disable-samplerate
endif
+ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
+ALSA_PLUGINS_CONF_OPTS += --enable-pulseaudio
+ALSA_PLUGINS_DEPENDENCIES += pulseaudio
+else
+ALSA_PLUGINS_CONF_OPTS += --disable-pulseaudio
+endif
+
$(eval $(autotools-package))
2022-05-12 10:44:08 +02:00
--
2.34.1