]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Ensure the Wayland backend provides Xorg driver
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 3 May 2016 16:58:53 +0000 (13:58 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 2 Jun 2016 18:22:35 +0000 (15:22 -0300)
For the XWayland use, we ought to avoid installing the Xorg Vivante
driver so we make the Wayland backend to provide it so the runtime
dependency is satisfied.

Change-Id: Id92afcb8ad611db8b4b26a952bbf93ad86a46924
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

index aa849506155195ed2858f1d76376cd6677365f00..e99c4a1a6146f27fdd2412e8d9650d1e8860b1e7 100644 (file)
@@ -271,6 +271,7 @@ RDEPENDS_libvivante-dri-mx6 = "libdrm"
 INSANE_SKIP_libwayland-viv-mx6 += "dev-so"
 FILES_libwayland-viv-mx6 =  "${libdir}/libwayland-viv${REALSOLIBS}  ${libdir}/libwayland-viv${SOLIBS}"
 FILES_libwayland-viv-mx6-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc"
+RPROVIDES_libwayland-viv-mx6 += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xf86-video-imxfb-vivante', '', d)}"
 
 INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so"
 FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}"