[OE-core] [PATCH 1/1] libsdl: Add support for libsdl-native

Andrei Gherzan andrei at gherzan.ro
Fri Jan 3 14:58:10 UTC 2014


On Tue, Dec 17, 2013 at 7:01 PM, Andrei Gherzan <andrei at gherzan.ro> wrote:

>
>
>
> On Tue, Dec 17, 2013 at 6:53 PM, Paul Eggleton <
> paul.eggleton at linux.intel.com> wrote:
>
>> On Tuesday 17 December 2013 18:51:08 Andrei Gherzan wrote:
>> > On Tue, Dec 17, 2013 at 6:47 PM, Paul Eggleton <
>> >
>> > paul.eggleton at linux.intel.com> wrote:
>> > > On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote:
>> > > > From: Alexandru Niculita <alexnick87 at gmail.com>
>> > > >
>> > > > Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65
>> > > > Signed-off-by: Alexandru Niculita <alexnick87 at gmail.com>
>> > > > ---
>> > > >
>> > > >  meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++-
>> > > >  1 file changed, 2 insertions(+), 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
>> 4b4ff63..84d3ad6
>> > > > 100644
>> > > > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
>> > > > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
>> > > > @@ -17,6 +17,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES',
>> > >
>> > > 'directfb',
>> > >
>> > > > 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11',
>> > > > 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib"
>> > > >
>> > > >  DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES',
>> 'x11',
>> > > >
>> > > > 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender
>> > > > nativesdk-libxext', '', d)}" +DEPENDS_class-native =
>> > > > "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-native
>> > >
>> > > libxrandr-native
>> > >
>> > > > libxrender-native libxext-native', '', d)}"
>> > > >
>> > > >  PR = "r2"
>> > > >
>> > > > @@ -63,4 +64,4 @@ do_configure_prepend() {
>> > > >
>> > > >          export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
>> > > >
>> > > >  }
>> > > >
>> > > > -BBCLASSEXTEND = "nativesdk"
>> > > > +BBCLASSEXTEND = "nativesdk native"
>> > >
>> > > Why do you want to do this? Usually, it's better to rely on the host
>> > > distro providing SDL for native because building libsdl-native can
>> lead to
>> > > problems linking against a specific host OpenGL implementation.
>> >
>> > xbmc needs sdl-native - this is why I made this change.
>>
>> Why does it need it though?
>>
>>
> Actually xbmc has a tool called texturepacker which uses libsdl-image -
> which needs libsdl. That's the chain.
>

Any advice on this? Paul, do you see another option on this?

-- 
*ag*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140103/0039000a/attachment-0002.html>


More information about the Openembedded-core mailing list