package/zynaddsubfx: add portaudio optional dependency

portaudio is an optional dependency (enabled by default) since the
addition of the package in commit
18a8630637

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-03-16 22:22:20 +01:00 committed by Yann E. MORIN
parent 3bcedaa732
commit e820feba36

View File

@ -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))