<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote:<br>
> From: Alexandru Niculita <<a href="mailto:alexnick87@gmail.com">alexnick87@gmail.com</a>><br>
><br>
> Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65<br>
> Signed-off-by: Alexandru Niculita <<a href="mailto:alexnick87@gmail.com">alexnick87@gmail.com</a>><br>
> ---<br>
> meta/recipes-graphics/libsdl/<a href="http://libsdl_1.2.15.bb" target="_blank">libsdl_1.2.15.bb</a> | 3 ++-<br>
> 1 file changed, 2 insertions(+), 1 deletion(-)<br>
><br>
> diff --git a/meta/recipes-graphics/libsdl/<a href="http://libsdl_1.2.15.bb" target="_blank">libsdl_1.2.15.bb</a><br>
> b/meta/recipes-graphics/libsdl/<a href="http://libsdl_1.2.15.bb" target="_blank">libsdl_1.2.15.bb</a> index 4b4ff63..84d3ad6<br>
> 100644<br>
> --- a/meta/recipes-graphics/libsdl/<a href="http://libsdl_1.2.15.bb" target="_blank">libsdl_1.2.15.bb</a><br>
> +++ b/meta/recipes-graphics/libsdl/<a href="http://libsdl_1.2.15.bb" target="_blank">libsdl_1.2.15.bb</a><br>
> @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb',<br>
> 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11',<br>
> 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib"<br>
> DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11',<br>
> 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender<br>
> nativesdk-libxext', '', d)}" +DEPENDS_class-native =<br>
> "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native libxrandr-native<br>
> libxrender-native libxext-native', '', d)}"<br>
><br>
> PR = "r2"<br>
><br>
> @@ -63,4 +64,4 @@ do_configure_prepend() {<br>
> export SYSROOT=$PKG_CONFIG_SYSROOT_DIR<br>
> }<br>
><br>
> -BBCLASSEXTEND = "nativesdk"<br>
> +BBCLASSEXTEND = "nativesdk native"<br>
<br>
</div></div>Why do you want to do this? Usually, it's better to rely on the host distro<br>
providing SDL for native because building libsdl-native can lead to problems<br>
linking against a specific host OpenGL implementation.<br></blockquote><div><br></div><div>xbmc needs sdl-native - this is why I made this change. I didn't encounter any issues with the native libsdl so i thought this would be a better / cleaner way to do it. If you guys don't agree, we can drop.</div>
<div> </div></div>-- </div><div class="gmail_extra"><b style="color:rgb(51,51,51);font-family:Arial;text-align:center">ag</b>
</div></div>