From 7284399e553244beca66c68282ed2739210fcd74 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Thu, 16 Jan 2014 07:37:46 +0000 Subject: [PATCH] vlc: add libmodplug support 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 Signed-off-by: Peter Korsgaard --- package/vlc/vlc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 516876b6cd..ce51f37d90 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -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 -- 2.30.2