* [Buildroot] [PATCH 4/4] package/alsa-plugins: add support for pulseaudio
@ 2024-09-05 15:45 Guillaume GC. Chaye
2024-09-05 19:29 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Guillaume GC. Chaye @ 2024-09-05 15:45 UTC (permalink / raw)
To: buildroot; +Cc: Charles Hardin, Guillaume GC. Chaye
build package with pulseaudio support only if package is selected in menuconfig
Signed-off-by: Guillaume GC. Chaye <guillaume.chaye@zeetim.com>
---
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 25ecc589fc..deeca838b1 100644
--- a/package/alsa-plugins/alsa-plugins.mk
+++ b/package/alsa-plugins/alsa-plugins.mk
@@ -14,12 +14,18 @@ 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 \
--with-speex=no
+ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
+ALSA_PLUGINS_DEPENDENCIES += pulseaudio
+ALSA_PLUGINS_CONF_OPTS += --enable-pulseaudio
+else
+ALSA_PLUGINS_CONF_OPTS += --disable-pulseaudio
+endif
+
ifeq ($(BR2_PACKAGE_ALSA_UTILS),y)
ALSA_PLUGINS_DEPENDENCIES += alsa-utils
endif
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-05 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05 15:45 [Buildroot] [PATCH 4/4] package/alsa-plugins: add support for pulseaudio Guillaume GC. Chaye
2024-09-05 19:29 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.