aboutsummaryrefslogtreecommitdiff
path: root/package/vlc/vlc.mk
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2014-02-09 13:47:11 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-09 16:41:24 +0100
commit4b79dfc94ec68ef8b66c5f505fe1a08ef378ac64 (patch)
tree252dc67710633a2959b363b7414a0bba3c1b0de9 /package/vlc/vlc.mk
parent39a3e21e109b596a0d873d0c78bcb6ba22699604 (diff)
downloadbuildroot-4b79dfc94ec68ef8b66c5f505fe1a08ef378ac64.tar.gz
buildroot-4b79dfc94ec68ef8b66c5f505fe1a08ef378ac64.tar.bz2
vlc: fix glx support
glx support is provided by the mesa3d package; so, enable it only when mesa3d is part of the package selection. Fixes: http://autobuild.buildroot.org/results/9b4/9b46021ea0064850ce8f1adcb5455d6da5bff459/build-end.log Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vlc/vlc.mk')
-rw-r--r--package/vlc/vlc.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 2730f07980..fd49040344 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -101,6 +101,13 @@ else
VLC_CONF_OPT += --disable-flac
endif
+ifeq ($(BR2_PACKAGE_MESA3D),y)
+VLC_CONF_OPT += --enable-glx
+VLC_DEPENDENCIES += mesa3d
+else
+VLC_CONF_OPT += --disable-glx
+endif
+
ifeq ($(BR2_PACKAGE_OPUS),y)
VLC_CONF_OPT += --enable-opus
VLC_DEPENDENCIES += opus