b030363ab1
The only files enabled by glesv1 support are in src/egl/opengles1/ Quoting src/egl/opengles1/Makefile.am: "# These programs aren't intended to be included with the normal distro." "# They're not too interesting but they're good for testing." Most of the files present in this directory contain "#include <X11/Xlib.h>" which breaks a wayland-only build because the build system does not take care of the x11 dependency here. Since these files are "not too interesting" anyway we just disable glesv1 support. Fixes http://autobuild.buildroot.net/results/b3e/b3ed3ee174a3ddce84bf64039eac39d4e6e75b71/ [Thomas: adapt on top of master.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
69 lines
1.8 KiB
Makefile
69 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# mesa3d-demos
|
|
#
|
|
################################################################################
|
|
|
|
MESA3D_DEMOS_VERSION = 8.3.0
|
|
MESA3D_DEMOS_SOURCE = mesa-demos-$(MESA3D_DEMOS_VERSION).tar.bz2
|
|
MESA3D_DEMOS_SITE = ftp://ftp.freedesktop.org/pub/mesa/demos/$(MESA3D_DEMOS_VERSION)
|
|
MESA3D_DEMOS_AUTORECONF = YES
|
|
MESA3D_DEMOS_DEPENDENCIES = host-pkgconf
|
|
MESA3D_DEMOS_LICENSE = MIT
|
|
|
|
MESA3D_DEMOS_CONF_OPTS += \
|
|
--without-glut \
|
|
--disable-osmesa \
|
|
--disable-gles1
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7)$(BR2_PACKAGE_HAS_LIBGL),yy)
|
|
MESA3D_DEMOS_DEPENDENCIES += libgl libglew libglu xlib_libX11 xlib_libXext
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-gl --enable-x11
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-gl --disable-x11
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
|
MESA3D_DEMOS_DEPENDENCIES += libegl
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-egl
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-egl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
|
MESA3D_DEMOS_DEPENDENCIES += libgles
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-gles2
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-gles2
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBOPENVG),y)
|
|
MESA3D_DEMOS_DEPENDENCIES += libopenvg
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-vg
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-vg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
|
MESA3D_DEMOS_DEPENDENCIES += mesa3d
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-gbm
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-gbm
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
|
MESA3D_DEMOS_DEPENDENCIES += freetype
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-freetype2
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-freetype2
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
|
MESA3D_DEMOS_DEPENDENCIES += wayland
|
|
MESA3D_DEMOS_CONF_OPTS += --enable-wayland
|
|
else
|
|
MESA3D_DEMOS_CONF_OPTS += --disable-wayland
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|