Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Andrei Gherzan <andrei@gherzan.ro>,
	Alexandru Niculita <alexnick87@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] libsdl: Add support for libsdl-native
Date: Tue, 17 Dec 2013 16:47:01 +0000	[thread overview]
Message-ID: <6803371.I0exNcVham@helios> (raw)
In-Reply-To: <1387298031-15180-1-git-send-email-andrei@gherzan.ro>

On Tuesday 17 December 2013 18:33:51 Andrei Gherzan wrote:
> From: Alexandru Niculita <alexnick87@gmail.com>
> 
> Change-Id: I4fb1e623c7bbb1f35ae3001c839cd7e16ce1bd65
> Signed-off-by: Alexandru Niculita <alexnick87@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.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-12-17 16:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17 16:33 [PATCH 1/1] libsdl: Add support for libsdl-native Andrei Gherzan
2013-12-17 16:47 ` Paul Eggleton [this message]
2013-12-17 16:51   ` Andrei Gherzan
2013-12-17 16:53     ` Paul Eggleton
2013-12-17 17:01       ` Andrei Gherzan
2014-01-03 14:58         ` Andrei Gherzan
2014-01-13 14:09           ` Paul Eggleton
2014-01-19 18:08             ` Andrei Gherzan
     [not found]               ` <CA+0k_w968Jt7sQktJnH9PLrxnLqs6pF37S6tba8PYn=QksoqNA@mail.gmail.com>
2014-01-27 20:29                 ` Andrei Gherzan
2014-01-27 22:50                   ` Paul Eggleton
2014-01-28  0:35                     ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6803371.I0exNcVham@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=alexnick87@gmail.com \
    --cc=andrei@gherzan.ro \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox