vlc: add libmodplug support
authorSimon Dawson <spdawson@gmail.com>
Thu, 16 Jan 2014 07:37:46 +0000 (07:37 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 16 Jan 2014 08:15:35 +0000 (09:15 +0100)
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>
package/vlc/vlc.mk

index 516876b6cdeb7d841f9deeafe8eb12f34013a6b4..ce51f37d902458c5c8a1b11efdc6d68acca9ac71 100644 (file)
@@ -14,7 +14,6 @@ VLC_DEPENDENCIES = host-pkgconf
 VLC_CONF_OPT += \
        --disable-a52 \
        --disable-shout \
-       --disable-mod \
        --disable-twolame \
        --disable-dca \
        --disable-dirac \
@@ -116,6 +115,13 @@ else
 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