Reapply "package/ffmpeg: add support for pulseaudio"

This reverts commit fecc337d21,
re-adding optional support for pulseuadio in ffmpeg.

This is possible now that the circular dependency:

  pulseaudio -> libsoxr -> ffmpeg -> pulseaudio

has been broken between libsoxr and ffmpeg.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni
2025-08-28 19:41:51 +02:00
committed by Peter Korsgaard
parent 4bf2a854f9
commit 8db836d292

View File

@@ -92,6 +92,13 @@ else
FFMPEG_CONF_OPTS += --disable-libjack
endif
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
FFMPEG_DEPENDENCIES += pulseaudio
FFMPEG_CONF_OPTS += --enable-libpulse
else
FFMPEG_CONF_OPTS += --disable-libpulse
endif
ifeq ($(BR2_PACKAGE_LIBV4L),y)
FFMPEG_DEPENDENCIES += libv4l
FFMPEG_CONF_OPTS += --enable-libv4l2