[Buildroot] [git commit] vlc: add libmodplug support

From: Peter Korsgaard <peter@korsgaard.com>
Date: 2014-01-16 08:15:35
Subsystem: the rest · Maintainer: Linus Torvalds

commit: http://git.buildroot.net/buildroot/commit/?id=7284399e553244beca66c68282ed2739210fcd74
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 <redacted>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/vlc/vlc.mk |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 516876b..ce51f37 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help