Fix alsa-plugin pulseaudio support

This commit is contained in:
j1nx 2022-12-13 12:39:58 +01:00
parent 6c3fe292b5
commit 8d94795097
1 changed files with 20 additions and 9 deletions

View File

@ -1,25 +1,36 @@
From a4dc9c913d1bd908a5e508e7a09d882c8390b9ec Mon Sep 17 00:00:00 2001
From e7e329146b36c2ea41af506601ca2511c1156a0a Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Mon, 9 May 2022 10:38:32 +0200
Subject: [PATCH 1/1] Enable pulseaudio alsa-plugin
Date: Tue, 13 Dec 2022 12:10:13 +0100
Subject: [PATCH 1/1] Add pulseaudio support to alsa-plugins
---
package/alsa-plugins/alsa-plugins.mk | 2 --
1 file changed, 2 deletions(-)
package/alsa-plugins/alsa-plugins.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/alsa-plugins/alsa-plugins.mk b/package/alsa-plugins/alsa-plugins.mk
index 396f47adaf..b905d30eac 100644
index 396f47adaf..0f19f7dcce 100644
--- a/package/alsa-plugins/alsa-plugins.mk
+++ b/package/alsa-plugins/alsa-plugins.mk
@@ -14,8 +14,6 @@ ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib
@@ -14,7 +14,6 @@ ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib
ALSA_PLUGINS_CONF_OPTS = \
--disable-jack \
--disable-usbstream \
- --disable-pulseaudio \
- --disable-libav \
--disable-libav \
--disable-maemo-plugin \
--disable-maemo-resource-manager \
--with-speex=no
@@ -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))
--
2.34.1