2022-01-23 14:48:03 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zynaddsubfx
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ZYNADDSUBFX_VERSION = 3.0.6
|
|
|
|
ZYNADDSUBFX_SOURCE = zynaddsubfx-$(ZYNADDSUBFX_VERSION).tar.bz2
|
|
|
|
ZYNADDSUBFX_SITE = http://downloads.sourceforge.net/zynaddsubfx
|
|
|
|
ZYNADDSUBFX_LICENSE = GPL-2.0+
|
|
|
|
ZYNADDSUBFX_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
# There is no package in buildroot using LV2 plugins: disabling
|
2022-03-16 22:22:16 +01:00
|
|
|
ZYNADDSUBFX_CONF_OPTS = -DCompileTests=OFF -DPluginEnable=OFF
|
2022-01-23 14:48:03 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
2022-03-16 22:22:17 +01:00
|
|
|
ZYNADDSUBFX_CONF_OPTS += -DOS_LIBRARIES=-latomic
|
2022-01-23 14:48:03 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ZYNADDSUBFX_DEPENDENCIES = \
|
|
|
|
fftw-single \
|
|
|
|
liblo \
|
|
|
|
mxml \
|
|
|
|
zlib
|
|
|
|
|
2022-03-16 22:22:18 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
|
|
|
|
ZYNADDSUBFX_DEPENDENCIES += alsa-lib
|
|
|
|
ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=ON
|
|
|
|
else
|
|
|
|
ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=OFF
|
|
|
|
endif
|
|
|
|
|
2022-03-16 22:22:19 +01:00
|
|
|
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
|
|
|
|
|
2022-03-16 22:22:20 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
|
|
|
|
ZYNADDSUBFX_DEPENDENCIES += portaudio
|
|
|
|
ZYNADDSUBFX_CONF_OPTS += -DPaEnable=ON
|
|
|
|
else
|
|
|
|
ZYNADDSUBFX_CONF_OPTS += -DPaEnable=OFF
|
|
|
|
endif
|
|
|
|
|
2022-01-23 14:48:03 +01:00
|
|
|
$(eval $(cmake-package))
|