package/ffmpeg: add support for libopenmpt

Configure ffmpeg to use libopenmpt if available.

Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 5621fe94af)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
J. Neuschäfer
2025-04-18 10:03:46 +02:00
committed by Thomas Perale
parent 1a407c28e5
commit 22216cedc4

View File

@@ -362,6 +362,13 @@ else
FFMPEG_CONF_OPTS += --disable-libmodplug
endif
ifeq ($(BR2_PACKAGE_LIBOPENMPT),y)
FFMPEG_CONF_OPTS += --enable-libopenmpt
FFMPEG_DEPENDENCIES += libopenmpt
else
FFMPEG_CONF_OPTS += --disable-libopenmpt
endif
ifeq ($(BR2_PACKAGE_SPEEX),y)
FFMPEG_CONF_OPTS += --enable-libspeex
FFMPEG_DEPENDENCIES += speex