From e820feba362a29a310ed3a93c8ad5546ceb8a2ee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 16 Mar 2022 22:22:20 +0100 Subject: [PATCH] package/zynaddsubfx: add portaudio optional dependency portaudio is an optional dependency (enabled by default) since the addition of the package in commit 18a863063735e2c658fa6947a4e540e9dda6c431 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zynaddsubfx/zynaddsubfx.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk index 461146aae8..aff9ac4bf4 100644 --- a/package/zynaddsubfx/zynaddsubfx.mk +++ b/package/zynaddsubfx/zynaddsubfx.mk @@ -37,4 +37,11 @@ else ZYNADDSUBFX_CONF_OPTS += -DJackEnable=OFF endif +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +ZYNADDSUBFX_DEPENDENCIES += portaudio +ZYNADDSUBFX_CONF_OPTS += -DPaEnable=ON +else +ZYNADDSUBFX_CONF_OPTS += -DPaEnable=OFF +endif + $(eval $(cmake-package))