Hongxu Jia 44c9118e9d
libsdl2-ttf: add PACKAGECONFIG opengl conditionally
GL is only used for an example binary, add PACKAGECONFIG opengl to enable/disable
it according to 'opengl' in DISTRO_FEATURES or not. Otherwise it fails to build
world if 'opengl' doesn't exist in DISTRO_FEATURES.
...
|ERROR: Nothing PROVIDES 'virtual/egl' (but meta-openembedded/meta-oe/recipes-graphics/
libsdl/libsdl2-ttf_2.24.0.bb DEPENDS on or otherwise requires it). Close matches:
|  virtual/kernel
|  virtual/make
|  virtual/perf
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libsdl2-ttf', 'virtual/egl']
...

Suggested-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:50:39 -07:00
..
2024-05-21 14:15:11 -07:00