[oe-commits] [openembedded-core] 07/10: weston: add dependency on virtual/libgbm for kms PACKAGECONFIG

git at git.openembedded.org git at git.openembedded.org
Wed Aug 15 20:47:54 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 73e9a5fc3234acda561f26cb915f4b636982ad63
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Tue Aug 14 10:53:11 2018 +0000

    weston: add dependency on virtual/libgbm for kms PACKAGECONFIG
    
    * gbm is checked in configure.ac:
    
    AC_ARG_ENABLE(drm-compositor, [  --enable-drm-compositor],,
                  enable_drm_compositor=yes)
    AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes)
    if test x$enable_drm_compositor = xyes; then
      AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor])
      PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0])
      PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2],
                        [AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])],
                        [AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])])
    fi
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-graphics/wayland/weston_4.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston_4.0.0.bb b/meta/recipes-graphics/wayland/weston_4.0.0.bb
index e78b0d9..3d192cf 100644
--- a/meta/recipes-graphics/wayland/weston_4.0.0.bb
+++ b/meta/recipes-graphics/wayland/weston_4.0.0.bb
@@ -43,7 +43,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev
 # Compositor choices
 #
 # Weston on KMS
-PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
+PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa virtual/libgbm mtdev"
 # Weston on Wayland (nested Weston)
 PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
 # Weston on X11

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list