Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ffmpeg: enable libjack when selected
@ 2024-08-01 14:59 Thomas Bonnefille via buildroot
  2024-08-01 21:07 ` Thomas Petazzoni via buildroot
  2024-09-02 12:00 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Bonnefille via buildroot @ 2024-08-01 14:59 UTC (permalink / raw)
  To: buildroot
  Cc: Thomas Bonnefille, Bernd Kuhls, Mahyar Koshkouei,
	Thomas Petazzoni, Miquel Raynal

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(+)

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
-- 
2.46.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-02 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 14:59 [Buildroot] [PATCH 1/1] package/ffmpeg: enable libjack when selected Thomas Bonnefille via buildroot
2024-08-01 21:07 ` Thomas Petazzoni via buildroot
2024-09-02 12:00 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox