summaryrefslogtreecommitdiff
path: root/package/multimedia/mpd/mpd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/mpd/mpd.mk')
-rw-r--r--package/multimedia/mpd/mpd.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk
index 728feaa06..3653152f4 100644
--- a/package/multimedia/mpd/mpd.mk
+++ b/package/multimedia/mpd/mpd.mk
@@ -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 \