All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Hochstein <tom.hochstein@nxp.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-demos][PATCH 2/4] fsl-image-multimedia: Add XWayland support.
Date: Mon, 6 Jun 2016 08:52:25 -0500	[thread overview]
Message-ID: <1465221147-30319-2-git-send-email-tom.hochstein@nxp.com> (raw)
In-Reply-To: <1465221147-30319-1-git-send-email-tom.hochstein@nxp.com>

If DISTRO_FEATURES contains x11 and wayland, configure the image
with an XWayland backend.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-fsl/images/fsl-image-multimedia.bb | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/recipes-fsl/images/fsl-image-multimedia.bb b/recipes-fsl/images/fsl-image-multimedia.bb
index a51d0a2..331084d 100644
--- a/recipes-fsl/images/fsl-image-multimedia.bb
+++ b/recipes-fsl/images/fsl-image-multimedia.bb
@@ -3,7 +3,9 @@ Freescale's multimedia packages (VPU and GPU) when available for the specific \
 machine."
 
 IMAGE_FEATURES += "\
-    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
+       bb.utils.contains('DISTRO_FEATURES',     'x11', 'x11-base', \
+                                                       '', d), d)} \
 "
 
 LICENSE = "MIT"
@@ -13,10 +15,11 @@ inherit core-image
 CORE_IMAGE_EXTRA_INSTALL += " \
     packagegroup-fsl-tools-gpu \
     packagegroup-fsl-gstreamer1.0 \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
-                      bb.utils.contains('DISTRO_FEATURES', 'wayland', \
-                                    'weston weston-init weston-examples \
-                                         gtk+3-demo clutter-1.0-examples', '', d), d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
+                         'weston weston-init weston-examples \
+                          gtk+3-demo clutter-1.0-examples', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \
+                         'weston-xwayland xterm', '', d)} \
 "
 
 CORE_IMAGE_EXTRA_INSTALL_remove_mx6sl = "clutter-1.0-examples"
-- 
1.9.1



  reply	other threads:[~2016-06-06 13:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 13:52 [meta-fsl-demos][PATCH 1/4] fsl-image-machine-test: Add XWayland support Tom Hochstein
2016-06-06 13:52 ` Tom Hochstein [this message]
2016-06-06 13:52 ` [meta-fsl-demos][PATCH 3/4] packagegroup-fsl-tools-gpu: " Tom Hochstein
2016-06-06 13:52 ` [meta-fsl-demos][PATCH 4/4] packagegroup-fsl-tools-gpu-external: Add packages for Wayland and XWayland Tom Hochstein

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=1465221147-30319-2-git-send-email-tom.hochstein@nxp.com \
    --to=tom.hochstein@nxp.com \
    --cc=meta-freescale@yoctoproject.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.