Patchwork weston: cleanup mesa depends

login
register
mail settings
Submitter Andreas Müller
Date Jan. 15, 2014, 10:11 a.m.
Message ID <1389780670-29935-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/64869/
State New
Headers show

Comments

Andreas Müller - Jan. 15, 2014, 10:11 a.m.
* do not depend by default
* depend on virtual/mesa instead of mesa

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/recipes-graphics/wayland/weston_1.3.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Otavio Salvador - Jan. 15, 2014, 11:24 a.m.
On Wed, Jan 15, 2014 at 8:11 AM, Andreas Müller <
schnitzeltony@googlemail.com> wrote:

> * do not depend by default
> * depend on virtual/mesa instead of mesa
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>

Patch

diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb b/meta/recipes-graphics/wayland/weston_1.3.1.bb
index d97f6af..8e555ee 100644
--- a/meta/recipes-graphics/wayland/weston_1.3.1.bb
+++ b/meta/recipes-graphics/wayland/weston_1.3.1.bb
@@ -15,7 +15,7 @@  SRC_URI[sha256sum] = "f7141334b141ae1a6435bd03bfdb01b7fb628f39259164f201e7e71c8d
 inherit autotools pkgconfig useradd
 
 DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
-DEPENDS += "wayland virtual/mesa virtual/egl pango"
+DEPENDS += "wayland virtual/egl pango"
 
 EXTRA_OECONF = "--enable-setuid-install \
                 --disable-tablet-shell \
@@ -37,9 +37,9 @@  PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland',
 # Compositor choices
 #
 # Weston on KMS
-PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev mesa mtdev"
+PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
 # Weston on Wayland (nested Weston)
-PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,mesa"
+PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
 # Weston on X11
 PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
 # Headless Weston