From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 1/5] libsdl2: allow to build native and nativesdk
Date: Fri, 11 May 2018 19:20:59 +0000 [thread overview]
Message-ID: <20180511192103.7581-1-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <CAJTo0LaJNCzWjNEsJw42_io2mC3iyDMoZ33SVj8huJLQQ7urhQ@mail.gmail.com>
* enable x11 in native builds
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
index c0cf70d7fd..c37f669321 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
@@ -37,6 +37,8 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
# and BSP layers to pick either (desktop) opengl, gles2, or no GL
PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
+PACKAGECONFIG_class-native = "x11"
+PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG ??= " \
${PACKAGECONFIG_GL} \
${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
@@ -63,3 +65,5 @@ do_configure_prepend() {
}
FILES_${PN}-dev += "${libdir}/cmake"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.0
next prev parent reply other threads:[~2018-05-11 19:21 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 14:37 [PATCH 1/3] json-c: upgrade to 0.13.1 Martin Jansa
2018-05-02 14:37 ` [PATCH 2/3] qemu: upgrade to 2.12.0 Martin Jansa
2018-05-02 20:44 ` Alistair Francis
2018-05-09 15:38 ` Burton, Ross
2018-05-10 21:32 ` Alistair Francis
2018-05-11 19:20 ` Martin Jansa [this message]
2018-05-11 19:21 ` [PATCHv2 2/5] " Martin Jansa
2018-05-11 23:17 ` Alistair Francis
2018-05-11 19:21 ` [PATCHv2 3/5] qemu: refresh patches with devtool Martin Jansa
2018-05-11 23:18 ` Alistair Francis
2018-05-11 19:21 ` [PATCHv2 4/5] qemu: add PACKAGECONFIG for virglrenderer, sdl2, usb-redir and spice Martin Jansa
2018-05-13 20:05 ` Burton, Ross
2018-05-14 16:12 ` Martin Jansa
2018-05-11 19:21 ` [PATCHv2 5/5] qemu: use sdl2 instead of sdl1 Martin Jansa
2018-05-11 23:22 ` Alistair Francis
2018-05-11 23:20 ` [PATCHv2 1/5] libsdl2: allow to build native and nativesdk Alistair Francis
2018-05-18 21:58 ` [PATCH 2/3] qemu: upgrade to 2.12.0 Burton, Ross
2018-05-29 9:10 ` Martin Jansa
2018-05-29 12:56 ` Martin Jansa
2018-05-29 20:40 ` Martin Jansa
2018-05-29 23:14 ` Alistair Francis
2018-05-30 2:16 ` Khem Raj
2018-05-30 16:35 ` Alistair Francis
2018-05-31 15:41 ` Martin Jansa
2018-06-01 0:00 ` Alistair Francis
2018-06-01 6:37 ` Martin Jansa
2018-06-01 9:08 ` Martin Jansa
2018-05-02 14:37 ` [PATCH 3/3] qemu: refresh patches with devtool Martin Jansa
2018-05-02 20:45 ` Alistair Francis
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=20180511192103.7581-1-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.