1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-27 09:14:28 +01:00
OpenVoiceOS/buildroot-patches/0006-Enable-pulseaudio-alsa-plugin.patch
2022-12-13 12:39:58 +01:00

37 lines
1.1 KiB
Diff

From e7e329146b36c2ea41af506601ca2511c1156a0a Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
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 | 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..0f19f7dcce 100644
--- a/package/alsa-plugins/alsa-plugins.mk
+++ b/package/alsa-plugins/alsa-plugins.mk
@@ -14,7 +14,6 @@ ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib
ALSA_PLUGINS_CONF_OPTS = \
--disable-jack \
--disable-usbstream \
- --disable-pulseaudio \
--disable-libav \
--disable-maemo-plugin \
--disable-maemo-resource-manager \
@@ -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