From: Fabrice Fontaine Date: Fri, 24 Apr 2020 11:39:28 +0000 (+0200) Subject: package/fluidsynth: add systemd optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8057d26600cee93d54f0cdbbd5c8c2cd05da3a6;p=buildroot.git package/fluidsynth: add systemd optional dependency systemd is an optional dependency (enabled by default) since version 2.0.5 and https://github.com/FluidSynth/fluidsynth/commit/099369f8b7f39afe08b6a518195948b05a937af3 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk index c53c5d7649..dc777e0bf9 100644 --- a/package/fluidsynth/fluidsynth.mk +++ b/package/fluidsynth/fluidsynth.mk @@ -73,4 +73,11 @@ 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))