Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] libsdl: Only enable X11 support when the DISTRO supports it
@ 2016-03-14 18:46 Otavio Salvador
  2016-03-14 19:12 ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2016-03-14 18:46 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List; +Cc: Otavio Salvador

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 <otavio@ossystems.com.br>
---

 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



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

end of thread, other threads:[~2016-03-15 11:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14 18:46 [PATCH] libsdl: Only enable X11 support when the DISTRO supports it Otavio Salvador
2016-03-14 19:12 ` Otavio Salvador
2016-03-14 20:33   ` Burton, Ross
2016-03-14 20:38     ` Otavio Salvador
2016-03-14 20:41       ` Burton, Ross
2016-03-14 20:43         ` Otavio Salvador
2016-03-14 20:46           ` Burton, Ross
2016-03-14 20:55             ` Otavio Salvador
2016-03-14 21:02               ` Burton, Ross
2016-03-14 21:04                 ` Otavio Salvador
2016-03-14 21:21                   ` Christopher Larson
2016-03-14 21:23                     ` Otavio Salvador
2016-03-14 21:26                       ` Burton, Ross
2016-03-15 11:01                         ` Otavio Salvador
2016-03-15 11:48                           ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox