[meta-freescale] [meta-fsl-demos][PATCH] packagegroup-fsl: Make v4l-utils conditional on X11

Philip Craig phil at blackmoth.com.au
Sun Oct 27 17:14:37 PDT 2013


On Mon, Oct 28, 2013 at 2:36 AM, Eric Nelson
<eric.nelson at boundarydevices.com> wrote:
> v4l-utils will pull in X11 if included, and this patch
> allows it to be skipped.

While this is okay as a temporary fix, it would be better if we
patched v4l-utils to not depend on X11 instead. The difficulty with
that approach is that I don't think the v4l-utils configure script has
an option to disable X11.

>
> Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
> ---
>  recipes-fsl/packagegroup/packagegroup-fsl.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-fsl/packagegroup/packagegroup-fsl.bb b/recipes-fsl/packagegroup/packagegroup-fsl.bb
> index da931d6..80ce5a4 100644
> --- a/recipes-fsl/packagegroup/packagegroup-fsl.bb
> +++ b/recipes-fsl/packagegroup/packagegroup-fsl.bb
> @@ -62,7 +62,7 @@ RDEPENDS_${PN}-tools-testapps = " \
>      python-subprocess \
>      python-datetime \
>      python-json \
> -    v4l-utils \
> +    ${@base_contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
>      ethtool \
>      mtd-utils \
>      mtd-utils-ubifs \
> --
> 1.8.1.2
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



More information about the meta-freescale mailing list