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>
(cherry picked from commit e820feba36)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-03-16 22:22:20 +01:00 committed by Peter Korsgaard
parent af8839589a
commit 84a9bdb30e

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