[meta-intel] [PATCH 6/8] emgd-driver-bin: add PROVIDES line for virtual opengl components

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Tue Sep 17 17:06:00 PDT 2013


From: Nitin A Kamble <nitin.a.kamble at intel.com>

Both emgd and mesa recipes provides opengl components. With this
change recipies which depend on opengl components, can specify
what they want, and BSP config selects the right provider recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb | 1 +
 common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb | 1 +
 2 files changed, 2 insertions(+)

diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb
index 6778ee0..6cf1986 100644
--- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb
@@ -23,6 +23,7 @@ RDEPENDS_emgd-gst-plugins-mixvideo = "libva-tpi"
 # These libraries shouldn't get installed in world builds unless something
 # explicitly depends upon them.
 EXCLUDE_FROM_WORLD = "1"
+PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl"
 
 # Add the ABI dependency at package generation time, as otherwise bitbake will
 # attempt to find a provider for it (and fail) when it does the parse.
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb
index ee4a313..7cd4db3 100644
--- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb
@@ -23,6 +23,7 @@ RDEPENDS_emgd-gst-plugins-mixvideo = "libva-tpi"
 # These libraries shouldn't get installed in world builds unless something
 # explicitly depends upon them.
 EXCLUDE_FROM_WORLD = "1"
+PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl"
 
 # Add the ABI dependency at package generation time, as otherwise bitbake will
 # attempt to find a provider for it (and fail) when it does the parse.
-- 
1.8.1.4




More information about the meta-intel mailing list