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> (cherry picked from commit 15e411d800999a70cc04a8d506ead40ea3dba210) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4bb569bcca
commit
fa638cc8de
@ -86,6 +86,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
|
||||
|
Loading…
Reference in New Issue
Block a user