All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/3] libsdl2-ttf: require distro feature opengl
@ 2025-09-03  6:25 Hongxu Jia
  2025-09-03  6:25 ` [meta-oe][PATCH 2/3] libpanel: " Hongxu Jia
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Hongxu Jia @ 2025-09-03  6:25 UTC (permalink / raw)
  To: openembedded-devel

Make libsdl2-ttf require distro feature opengl. 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']
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb
index d06f41bd0e..a3fb13c45d 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455"
 SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz"
 SRC_URI[sha256sum] = "0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd"
 
-inherit cmake pkgconfig
+inherit cmake pkgconfig features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 S = "${UNPACKDIR}/SDL2_ttf-${PV}"
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-09-04  7:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03  6:25 [meta-oe][PATCH 1/3] libsdl2-ttf: require distro feature opengl Hongxu Jia
2025-09-03  6:25 ` [meta-oe][PATCH 2/3] libpanel: " Hongxu Jia
2025-09-03  6:25 ` [meta-oe][PATCH 3/3] cheese: " Hongxu Jia
2025-09-03  6:32   ` [oe] " Khem Raj
2025-09-03  6:37     ` Hongxu Jia
2025-09-03 16:07       ` Khem Raj
2025-09-03 10:24 ` [oe] [meta-oe][PATCH 1/3] libsdl2-ttf: " Ross Burton
2025-09-04  7:48   ` hongxu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.