package/zynaddsubfx: add jack{1, 2} optional dependency

jack{1,2} 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:19 +01:00 committed by Yann E. MORIN
parent 2fc2191845
commit 3bcedaa732

View File

@ -30,4 +30,11 @@ else
ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=OFF ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=OFF
endif endif
ifeq ($(BR2_PACKAGE_JACK1)$(BR2_PACKAGE_JACK2),y)
ZYNADDSUBFX_DEPENDENCIES += $(if $(BR2_PACKAGE_JACK1),jack1,jack2)
ZYNADDSUBFX_CONF_OPTS += -DJackEnable=ON
else
ZYNADDSUBFX_CONF_OPTS += -DJackEnable=OFF
endif
$(eval $(cmake-package)) $(eval $(cmake-package))