[meta-intel] [PATCH] libyami: Add PACKAGECONFIG for x11

Wold, Saul saul.wold at intel.com
Thu Apr 13 07:33:42 PDT 2017


On Wed, 2017-04-12 at 11:36 +0300, Jussi Kukkonen wrote:
> Without this the recipe fails to build without x11, breaking world
> build.
> 
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
> ---
>  common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb 
> b/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb
> index c61fec8..64f8850 100755
> --- a/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb
> +++ b/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb
> @@ -18,4 +18,10 @@ DEPENDS = "libva libyami"
>  
>  EXTRA_OECONF = " --enable-tests-gles --disable-md5"
>  
> +PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
> +
> +# --enable-x11 needs libva-x11
> +# gles-tests fail to build without x11: see https://github.com/01org
> /libyami-utils/issues/91
> +PACKAGECONFIG[x11] = "--enable-x11 --enable-tests-gles,--disable-x11 
> --disable-tests-gles, virtual/libx11"
> +
>  inherit autotools pkgconfig

This patch does not apply cleanly to master, please verify you have the
current master.

Thanks
   Sau!

> -- 
> 2.1.4
> 


More information about the meta-intel mailing list