package/ffmpeg: add optional dependency on jack

Add automatic JACK audio sound server support to ffmpeg if either JACK
or JACK2 are enabled.

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Bonnefille
2024-08-01 16:59:58 +02:00
committed by Thomas Petazzoni
parent 99f65ecb6a
commit 15e411d800

View File

@@ -82,6 +82,16 @@ else
FFMPEG_CONF_OPTS += --disable-ffplay
endif
ifeq ($(BR2_PACKAGE_JACK1),y)
FFMPEG_CONF_OPTS += --enable-libjack
FFMPEG_DEPENDENCIES += jack1
else ifeq ($(BR2_PACKAGE_JACK2),y)
FFMPEG_CONF_OPTS += --enable-libjack
FFMPEG_DEPENDENCIES += jack2
else
FFMPEG_CONF_OPTS += --disable-libjack
endif
ifeq ($(BR2_PACKAGE_LIBV4L),y)
FFMPEG_DEPENDENCIES += libv4l
FFMPEG_CONF_OPTS += --enable-libv4l2