[OE-core] [PATCH 3/4] glib-networking:enable glib-networking build as native package

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Wed Mar 20 12:03:08 UTC 2019


On Wed, 2019-03-20 at 17:39 +0800, Jiang Lu wrote:
> Enable glib-networking build as a native package, for it is depended
> by libsoup.
> 
> Signed-off-by: Jiang Lu <lu.jiang at windriver.com>
> ---
>  .../glib-networking/glib-networking_2.58.0.bb            | 9
> +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/meta/recipes-core/glib-networking/glib-
> networking_2.58.0.bb b/meta/recipes-core/glib-networking/glib-
> networking_2.58.0.bb
> index f3190e1cae..96ba181b71 100644
> --- a/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
> +++ b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
> @@ -29,3 +29,12 @@ FILES_${PN} += "\
>                  "
>  FILES_${PN}-dev += "${libdir}/gio/modules/libgio*.la"
>  FILES_${PN}-staticdev += "${libdir}/gio/modules/libgio*.a"
> +
> +# Make sure we compile with ca-certificates support enabled.
> +PACKAGECONFIG_append = " ca-certificates"

This wasn't acceptable in the last patch and still isn't acceptable
now. We don't use _append in recipes like this with PACKAGECONFIG.

> +DEPENDS += "ca-certificates"
> +RDEPENDS_${PN} += "ca-certificates"

This belongs in the PACKAGECONFIG entry.

> +# We need native version for ostree-/flatpak-native.
> +BBCLASSEXTEND = "native"

This belongs in a separate patch.

Cheers,

Richard



More information about the Openembedded-core mailing list