wine: Add OSMesa dependency

We have support for building the OSMesa lib since
81537f284f

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
André Hentschel 2015-12-12 20:55:38 +01:00 committed by Thomas Petazzoni
parent 4edc0f1cdd
commit 4037e4ec94

View File

@ -27,7 +27,6 @@ WINE_CONF_OPTS = \
--without-hal \
--without-openal \
--without-opencl \
--without-osmesa \
--without-oss
# Wine uses a wrapper around gcc, and uses the value of --host to
@ -171,6 +170,13 @@ else
WINE_CONF_OPTS += --without-ldap
endif
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
WINE_CONF_OPTS += --with-osmesa
WINE_DEPENDENCIES += mesa3d
else
WINE_CONF_OPTS += --without-osmesa
endif
ifeq ($(BR2_PACKAGE_SANE_BACKENDS),y)
WINE_CONF_OPTS += --with-sane
WINE_DEPENDENCIES += sane-backends