package/vlc: depends on the virtual package libgl

Currently, vlc depends on mesa3d to provide the openGL support.

We now have a virtual package, libgl, which ensures openGL is available.

This is support for full OpenGL, which is only available when X.Org is
enabled, which is anyway a dependency of full OpenGL.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2014-04-17 18:04:25 +02:00 committed by Thomas Petazzoni
parent ab1a236a07
commit b12f0a0590

View File

@ -118,9 +118,9 @@ else
VLC_CONF_OPT += --disable-flac
endif
ifeq ($(BR2_PACKAGE_MESA3D),y)
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
VLC_CONF_OPT += --enable-glx
VLC_DEPENDENCIES += mesa3d
VLC_DEPENDENCIES += libgl
else
VLC_CONF_OPT += --disable-glx
endif