Message ID | 20240801145958.2561632-1-thomas.bonnefille@bootlin.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/ffmpeg: enable libjack when selected | expand |
On Thu, 1 Aug 2024 16:59:58 +0200 Thomas Bonnefille via buildroot <buildroot@buildroot.org> wrote: > Add automatic JACK audio sound server support to ffmpeg if JACK/JACK2 is > selected in Buildroot configuration. > > Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> > --- > package/ffmpeg/ffmpeg.mk | 10 ++++++++++ > 1 file changed, 10 insertions(+) Applied to master, thanks. Thomas
>>>>> "Thomas" == Thomas Bonnefille via buildroot <buildroot@buildroot.org> writes: > Add automatic JACK audio sound server support to ffmpeg if JACK/JACK2 is > selected in Buildroot configuration. > Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> Committed to 2024.02.x and 2024.05.x, thanks.
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 87c482656c..5b2d33883d 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -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
Add automatic JACK audio sound server support to ffmpeg if JACK/JACK2 is selected in Buildroot configuration. Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> --- package/ffmpeg/ffmpeg.mk | 10 ++++++++++ 1 file changed, 10 insertions(+)