[oe-commits] Ross Burton : xf86-video-vmware: respect opengl DISTRO_FEATURE

git at git.openembedded.org git at git.openembedded.org
Wed Sep 11 22:19:15 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 66b7c59442cc494179418995292c57bab56fada3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=66b7c59442cc494179418995292c57bab56fada3

Author: Ross Burton <ross.burton at intel.com>
Date:   Wed Sep 11 23:24:57 2013 +0100

xf86-video-vmware: respect opengl DISTRO_FEATURE

Conditionalise the GL dependencies on the opengl DISTRO_FEATURE so this driver
can build without the opengl feature active, as the configure script will
enable/disable the GL sub-driver depending on the presence of these libraries.

This is an interim patch to fix the autobuilder, a more complete patch heading
upstream to make the GL sub-driver deterministic will follow.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../xorg-driver/xf86-video-vmware_13.0.1.bb        |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bb b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bb
index 1526a02..0d8c8d2 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bb
@@ -6,8 +6,8 @@ DESCRIPTION = "vmware is an Xorg driver for VMware virtual video cards."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53"
 
-DEPENDS += "virtual/libx11 libxvmc drm glproto \
-	    virtual/libgl xineramaproto libpciaccess"
+DEPENDS += "virtual/libx11 libxvmc xineramaproto libpciaccess \
+            ${@base_contains('DISTRO_FEATURES', 'opengl', 'drm virtual/libgl', '', d)}"
 
 SRC_URI[md5sum] = "b08e0195ebf3f88a82129322cb93da08"
 SRC_URI[sha256sum] = "802dda415c22412edad6c3df44fe18a06e91d0f8456d9a58bac0d340fdf8fe3d"



More information about the Openembedded-commits mailing list