2019-12-09 21:03:24 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# fluidsynth
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-01-24 20:56:34 +01:00
|
|
|
FLUIDSYNTH_VERSION = 2.2.5
|
2019-12-09 21:03:24 +01:00
|
|
|
FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION))
|
|
|
|
FLUIDSYNTH_LICENSE = LGPL-2.1+
|
|
|
|
FLUIDSYNTH_LICENSE_FILES = LICENSE
|
2021-05-16 12:38:23 +02:00
|
|
|
FLUIDSYNTH_CPE_ID_VENDOR = fluidsynth
|
2020-01-10 23:02:35 +01:00
|
|
|
FLUIDSYNTH_INSTALL_STAGING = YES
|
2019-12-09 21:03:24 +01:00
|
|
|
FLUIDSYNTH_DEPENDENCIES = libglib2
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-alsa=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-alsa=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_DBUS),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-dbus=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += dbus
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-dbus=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_FLOATS),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-floats=1
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-floats=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_JACK2),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-jack=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += jack2
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-jack=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-libsndfile=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += libsndfile
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-libsndfile=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-portaudio=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += portaudio
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-portaudio=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-pulseaudio=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += pulseaudio
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-pulseaudio=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_READLINE),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-readline=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += readline
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-readline=0
|
|
|
|
endif
|
|
|
|
|
2020-04-24 13:39:27 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += sdl2
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0
|
|
|
|
endif
|
|
|
|
|
2020-04-24 13:39:28 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-systemd=1
|
|
|
|
FLUIDSYNTH_DEPENDENCIES += systemd
|
|
|
|
else
|
|
|
|
FLUIDSYNTH_CONF_OPTS += -Denable-systemd=0
|
|
|
|
endif
|
|
|
|
|
2019-12-09 21:03:24 +01:00
|
|
|
$(eval $(cmake-package))
|