fbf7d55421
This bump will fix the following build failure raised since bump of wayland to version 1.20.0 in commitf94ba5c31c
thanks to71d46212a9
and2c33597245
: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ../../lib/libwaffle-1.so.0.6.1: undefined reference to `wl_proxy_get_version' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ../../lib/libwaffle-1.so.0.6.1: undefined reference to `wl_proxy_marshal_flags' https://gitlab.freedesktop.org/mesa/waffle/-/tags/v1.7.0 https://gitlab.freedesktop.org/mesa/waffle/-/tags/v1.6.3 https://gitlab.freedesktop.org/mesa/waffle/-/tags/v1.6.2 Fixes: - http://autobuild.buildroot.org/results/1fb1540b0ae6037140f386f44d6e17735f0674c4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# waffle
|
|
#
|
|
################################################################################
|
|
|
|
WAFFLE_VERSION = 1.7.0
|
|
WAFFLE_SOURCE = waffle-$(WAFFLE_VERSION).tar.xz
|
|
WAFFLE_SITE = https://gitlab.freedesktop.org/mesa/waffle/uploads/9eaadda4ec2ed1d8a26ddefd2cfd16be
|
|
WAFFLE_INSTALL_STAGING = YES
|
|
WAFFLE_LICENSE = BSD-2-Clause
|
|
WAFFLE_LICENSE_FILES = LICENSE.txt
|
|
|
|
WAFFLE_DEPENDENCIES = host-pkgconf
|
|
|
|
WAFFLE_CONF_OPTS = -Dwaffle_build_tests=OFF \
|
|
-Dwaffle_build_examples=OFF \
|
|
-Dwaffle_build_manpages=OFF \
|
|
-Dwaffle_build_htmldocs=OFF \
|
|
-Dwaffle_has_nacl=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_WAFFLE_SUPPORTS_WAYLAND),y)
|
|
WAFFLE_DEPENDENCIES += libegl wayland
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_wayland=ON
|
|
else
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_wayland=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAFFLE_SUPPORTS_X11_EGL),y)
|
|
WAFFLE_DEPENDENCIES += libegl libxcb xlib_libX11
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_x11_egl=ON
|
|
else
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_x11_egl=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAFFLE_SUPPORTS_GLX),y)
|
|
WAFFLE_DEPENDENCIES += libgl libxcb xlib_libX11
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_glx=ON
|
|
else
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_glx=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAFFLE_SUPPORTS_GBM),y)
|
|
WAFFLE_DEPENDENCIES += libegl udev
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_gbm=ON
|
|
else
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_gbm=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
WAFFLE_DEPENDENCIES += bash-completion
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MESA3D)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),yy)
|
|
WAFFLE_DEPENDENCIES += mesa3d
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_surfaceless_egl=ON
|
|
else
|
|
WAFFLE_CONF_OPTS += -Dwaffle_has_surfaceless_egl=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|