package/mesa3d-demos: needs C++

Reference:
https://gitlab.freedesktop.org/mesa/demos/-/blob/main/meson.build#L21

Fixes:
http://autobuild.buildroot.net/results/90e/90e98fa0f37462cadea0fcbff9feabad5554587d/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c1a7079a23)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2023-07-09 09:55:42 +02:00 committed by Peter Korsgaard
parent 7f8805c1a6
commit 8b26a893f5
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_MESA3D_DEMOS
bool "mesa3d-demos"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES \
|| BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBOPENVG
select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL
@ -10,3 +11,8 @@ config BR2_PACKAGE_MESA3D_DEMOS
OpenGL demos from the Mesa 3D project.
http://mesa3d.org
comment "mesa3d-demos needs a toolchain with C++"
depends on !BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES \
|| BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBOPENVG

View File

@ -6,7 +6,7 @@ config BR2_PACKAGE_PIGLIT
BR2_PACKAGE_WAFFLE_SUPPORTS_WAYLAND || \
BR2_PACKAGE_WAFFLE_SUPPORTS_X11_EGL || \
BR2_PACKAGE_WAFFLE_SUPPORTS_GBM
depends on BR2_INSTALL_LIBSTDCPP # python-numpy
depends on BR2_INSTALL_LIBSTDCPP # mesa3d-demos, python-numpy
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_LIBPNG