package/jack2: add systemd optional dependency

Add systemd optional dependency (enabled by default)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 166ea61fb4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-07-27 15:26:29 +02:00 committed by Peter Korsgaard
parent 342993ed87
commit dd0e1dede4

View File

@ -47,6 +47,13 @@ else
JACK2_CONF_OPTS += --readline=no
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
JACK2_DEPENDENCIES += systemd
JACK2_CONF_OPTS += --systemd=yes
else
JACK2_CONF_OPTS += --systemd=no
endif
ifeq ($(BR2_PACKAGE_JACK2_LEGACY),y)
JACK2_CONF_OPTS += --classic
else