To allow the use of Framebuffer-only distributions we cannot force the
existence of X11. This fixes:

,----
| ERROR: Nothing PROVIDES 'virtual/libx11-native' (but
|     virtual:native:.../meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
|     DEPENDS on or otherwise requires it)
`----

Error catch by O.S. Systems' autobuilder.

Signed-off-by: Otavio Salvador <[email protected]>
---

 meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb 
b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
index 9c0ec54..775abb9 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -46,7 +46,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 
'alsa', 'alsa', '', d
                    ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 
'directfb', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 
'opengl', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', 
d)}"
-PACKAGECONFIG_class-native = "x11"
+PACKAGECONFIG_class-native = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 
'x11', '', d)}"
 PACKAGECONFIG_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 
'x11', 'x11', '', d)}"
 
 PACKAGECONFIG[alsa] = "--enable-alsa 
--disable-alsatest,--disable-alsa,alsa-lib"
-- 
2.7.3

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to