Commit 833724e1 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

mpd: add option for ffmpeg support



For all the special file formats supported by ffmpeg.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a1c787ea
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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"
+7 −0
Original line number Diff line number Diff line
@@ -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 \