package/mesa3d-demos: add glut support
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e6dfc0c68a
commit
8f239e783f
@ -12,7 +12,6 @@ MESA3D_DEMOS_DEPENDENCIES = host-pkgconf
|
||||
MESA3D_DEMOS_LICENSE = MIT
|
||||
|
||||
MESA3D_DEMOS_CONF_OPTS += \
|
||||
--without-glut \
|
||||
--disable-osmesa \
|
||||
--disable-gles1
|
||||
|
||||
@ -58,6 +57,19 @@ else
|
||||
MESA3D_DEMOS_CONF_OPTS += --disable-freetype2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y)
|
||||
MESA3D_DEMOS_DEPENDENCIES += libfreeglut
|
||||
MESA3D_DEMOS_CONF_OPTS += --with-glut=$(STAGING_DIR)/usr
|
||||
# osmesa support depends on glut
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
|
||||
MESA3D_DEMOS_CONF_OPTS += --enable-osmesa
|
||||
else
|
||||
MESA3D_DEMOS_CONF_OPTS += --disable-osmesa
|
||||
endif
|
||||
else
|
||||
MESA3D_DEMOS_CONF_OPTS += --without-glut --disable-osmesa
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
||||
MESA3D_DEMOS_DEPENDENCIES += wayland
|
||||
MESA3D_DEMOS_CONF_OPTS += --enable-wayland
|
||||
|
Loading…
Reference in New Issue
Block a user