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

Peter Korsgaard peter at korsgaard.com
Thu Jan 16 08:15:35 UTC 2014


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 <spdawson at gmail.com>
Signed-off-by: Peter Korsgaard <peter at 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


More information about the buildroot mailing list