b49f91aada
Changes since v2.1.2: https://github.com/FluidSynth/fluidsynth/releases/tag/v2.1.3 - fix a cross-compilation failure from Win32 to WinARM - fix issues while fluid_player is seeking - fix a NULL pointer dereference if synth.dynamic-sample-loading is enabled - fix a NULL pointer dereference in delete_rvoice_mixer_threads() - fix a NULL pointer dereference in the soundfont loader - fix dsound driver playing garbage when terminating fluidsynth - avoid memory leaks when using libinstpatch ./utils/test-pkg --package fluidsynth 6 builds, 1 skipped, 0 build failed, 0 legal-info failed Signed-off-by: Julien Olivain <juju@cotds.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# fluidsynth
|
|
#
|
|
################################################################################
|
|
|
|
FLUIDSYNTH_VERSION = 2.1.3
|
|
FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION))
|
|
FLUIDSYNTH_LICENSE = LGPL-2.1+
|
|
FLUIDSYNTH_LICENSE_FILES = LICENSE
|
|
FLUIDSYNTH_INSTALL_STAGING = YES
|
|
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
|
|
|
|
$(eval $(cmake-package))
|