Re: [meta-intel] [PATCH 1/2] libva: check for "opengl" feature

2016-12-02 Thread Saul Wold

Ismo,

Sorry for the bad timing, but your patches got hung up with some other
changes I was working on, and now Khem is moving libva and gstreamer-
vaapi to oe-core, so give it a couple of days for things to catch-up
and then resend these to oe-core!

Thanks
  Sau!


On Thu, 2016-12-01 at 10:09 +0200, Ismo Puustinen wrote:
> In case "opengl" is missing from DISTRO_FEATURES, libva fails to
> satisfy
> its dependencies. The dependency check is done by BitBake when
> meta-world-pkgdata gathers information about all available packages
> during image builds, even if libva isn't included in the build. This
> patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE
> isn't
> found.
> 
> Signed-off-by: Ismo Puustinen 
> ---
>  common/recipes-multimedia/libva/libva_1.7.2.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/common/recipes-multimedia/libva/libva_1.7.2.bb
> b/common/recipes-multimedia/libva/libva_1.7.2.bb
> index d72074d..860ab77 100644
> --- a/common/recipes-multimedia/libva/libva_1.7.2.bb
> +++ b/common/recipes-multimedia/libva/libva_1.7.2.bb
> @@ -24,7 +24,9 @@ SRC_URI[sha256sum] =
> "5dd61cf16a5648b680e6146a58064e93be11bf4e65a9e4e30f1e9cb8ec
>  
>  DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2
> virtual/egl"
>  
> -inherit autotools pkgconfig
> +inherit autotools pkgconfig distro_features_check
> +
> +REQUIRED_DISTRO_FEATURES ?= "opengl"
>  
>  EXTRA_OECONF = "--disable-dummy-driver"
>  
> -- 
> 2.9.3
> 
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 1/2] libva: check for "opengl" feature

2016-12-01 Thread Ismo Puustinen
In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy
its dependencies. The dependency check is done by BitBake when
meta-world-pkgdata gathers information about all available packages
during image builds, even if libva isn't included in the build. This
patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't
found.

Signed-off-by: Ismo Puustinen 
---
 common/recipes-multimedia/libva/libva_1.7.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/recipes-multimedia/libva/libva_1.7.2.bb 
b/common/recipes-multimedia/libva/libva_1.7.2.bb
index d72074d..860ab77 100644
--- a/common/recipes-multimedia/libva/libva_1.7.2.bb
+++ b/common/recipes-multimedia/libva/libva_1.7.2.bb
@@ -24,7 +24,9 @@ SRC_URI[sha256sum] = 
"5dd61cf16a5648b680e6146a58064e93be11bf4e65a9e4e30f1e9cb8ec
 
 DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2 virtual/egl"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
+
+REQUIRED_DISTRO_FEATURES ?= "opengl"
 
 EXTRA_OECONF = "--disable-dummy-driver"
 
-- 
2.9.3

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel