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.
|
||||
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
|
||||
|
||||
comment "mpd requires a toolchain with C++ and WCHAR support"
|
||||
|
@ -107,6 +107,13 @@ else
|
||||
MPD_CONF_OPT += --disable-wavpack
|
||||
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
|
||||
@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
|
||||
$(INSTALL) -D package/multimedia/mpd/mpd.conf \
|
||||
|
Loading…
Reference in New Issue
Block a user