aboutsummaryrefslogtreecommitdiff
path: root/package/fluidsynth/fluidsynth.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/fluidsynth/fluidsynth.mk')
-rw-r--r--package/fluidsynth/fluidsynth.mk16
1 files changed, 15 insertions, 1 deletions
diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk
index 828a5cab8f..dc777e0bf9 100644
--- a/package/fluidsynth/fluidsynth.mk
+++ b/package/fluidsynth/fluidsynth.mk
@@ -4,7 +4,7 @@
#
################################################################################
-FLUIDSYNTH_VERSION = 2.1.4
+FLUIDSYNTH_VERSION = 2.1.5
FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION))
FLUIDSYNTH_LICENSE = LGPL-2.1+
FLUIDSYNTH_LICENSE_FILES = LICENSE
@@ -66,4 +66,18 @@ else
FLUIDSYNTH_CONF_OPTS += -Denable-readline=0
endif
+ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y)
+FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1
+FLUIDSYNTH_DEPENDENCIES += sdl2
+else
+FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0
+endif
+
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+FLUIDSYNTH_CONF_OPTS += -Denable-systemd=1
+FLUIDSYNTH_DEPENDENCIES += systemd
+else
+FLUIDSYNTH_CONF_OPTS += -Denable-systemd=0
+endif
+
$(eval $(cmake-package))