aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/waffle/waffle
AgeCommit message (Collapse)Author
2020-04-24waffle: Fix x11 build without GBM supportTom Hochstein
For i.MX 6 and 7, building x11_egl failed with the following: ``` In file included from ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_window.c:35: ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_platform.h:30:10: fatal error: gbm.h: No such file or directory 30 | #include <gbm.h> | ^~~~~~~ ``` The failure is not surprising since i.MX 6 and 7 don't support GBM. What is surprising is surfaceless_egl is built even if it is disabled. The meson dependency for surfaceless_egl was incorrectly tied to x11_egl, so fix that, plus add a dependency on GBM. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 76467d61049bd89a25f5a26592bc6c8808e51ff9)
2020-04-24waffle: Add missing dependency on EGLTom Hochstein
For Wayland builds without XWayland support, the following build break was happening: In file included from /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/egl.h:39, from ../waffle-1.6.0/src/waffle/egl/wegl_context.h:31, from ../waffle-1.6.0/src/waffle/egl/wegl_util.c:28: /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144:10: fatal error: X11/Xlib.h: No such file or directory 144 | #include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated. This happens because the egl.pc configuration is missing. Fix the mising dependency. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit eea3e3bbe0870b46363884402c97b4f1b187a6f9)