mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
mpd: add option for ffmpeg support
For all the special file formats supported by ffmpeg. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a1c787ea6a
commit
833724e1b1
@ -144,6 +144,17 @@ config BR2_PACKAGE_MPD_WAVPACK
|
|||||||
Enable wavpack input support.
|
Enable wavpack input support.
|
||||||
Select this if you want to play back WV files.
|
Select this if you want to play back WV files.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_MPD_FFMPEG
|
||||||
|
bool "ffmpeg"
|
||||||
|
select BR2_PACKAGE_FFMPEG
|
||||||
|
depends on BR2_LARGEFILE
|
||||||
|
help
|
||||||
|
Enable ffmpeg input support.
|
||||||
|
Select this if you want to play back files supported by ffmpeg.
|
||||||
|
|
||||||
|
comment "ffmpeg support requires a toolchain with LARGEFILE support"
|
||||||
|
depends on !BR2_LARGEFILE
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "mpd requires a toolchain with C++ and WCHAR support"
|
comment "mpd requires a toolchain with C++ and WCHAR support"
|
||||||
|
@ -107,6 +107,13 @@ else
|
|||||||
MPD_CONF_OPT += --disable-wavpack
|
MPD_CONF_OPT += --disable-wavpack
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MPD_FFMPEG),y)
|
||||||
|
MPD_DEPENDENCIES += ffmpeg
|
||||||
|
MPD_CONF_OPT += --enable-ffmpeg
|
||||||
|
else
|
||||||
|
MPD_CONF_OPT += --disable-ffmpeg
|
||||||
|
endif
|
||||||
|
|
||||||
define MPD_INSTALL_EXTRA_FILES
|
define MPD_INSTALL_EXTRA_FILES
|
||||||
@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
|
@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
|
||||||
$(INSTALL) -D package/multimedia/mpd/mpd.conf \
|
$(INSTALL) -D package/multimedia/mpd/mpd.conf \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user