On Thu, Aug 18, 2016 at 04:41:01PM +0000, Khem Raj wrote:
> Some layers have gstreamer plugin recipes which include
> the .inc files from OE-Core but they do not get to find
> the patch that is being forced by the .inc file and
> ends up with errors like
> 
> WARNING: 
> /mnt/oe/meta-qcom/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb: 
> Unable to get checksum for gstreamer1.0-plugins-v4l2 SRC_URI entry 
> 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch: file could 
> not be fo
> und

Isn't it better to move this SRC_URI_append to the individual .bb files?

Other versions of plugins might not be able to apply this .patch and
such recipes will need to use SRC_URI_remove (or SRC_URI with override)
to get rid of this.

> 
> This path prepend fixes it
> 
> Signed-off-by: Khem Raj <[email protected]>
> ---
>  meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc 
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
> index 2dcec50..b066941 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
> @@ -28,6 +28,7 @@ EXTRA_OECONF = " \
>      --disable-examples \
>  "
>  
> +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>  SRC_URI_append = " 
> file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch"
>  
>  delete_pkg_m4_file() {
> -- 
> 1.8.3.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to