Commit
0a5d5240157f1df80d2457db2a153821f56997d8 added a libmodplug package
to Buildroot; this means that libmodplug support can now be enabled for the
vlc package.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
VLC_CONF_OPT += \
--disable-a52 \
--disable-shout \
- --disable-mod \
--disable-twolame \
--disable-dca \
--disable-dirac \
VLC_CONF_OPT += --disable-mad
endif
+ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
+VLC_CONF_OPT += --enable-mod
+VLC_DEPENDENCIES += libmodplug
+else
+VLC_CONF_OPT += --disable-mod
+endif
+
ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
VLC_CONF_OPT += --enable-libmpeg2
VLC_DEPENDENCIES += libmpeg2