[oe] [PATCH] Recipe for Nghttp2: HTTP/2 C Library.

Andre McCurdy armccurdy at gmail.com
Thu Oct 5 19:48:15 UTC 2017


On Thu, Oct 5, 2017 at 2:47 AM, baali <shantanu at senic.com> wrote:
> It is also needed for Curl to support HTTP2 protocol.
>
> Signed-off-by: baali <shantanu at senic.com>
> ---
>  meta-oe/recipes-support/nghttp2/nghttp2_1.26.0.bb | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-oe/recipes-support/nghttp2/nghttp2_1.26.0.bb
>
> diff --git a/meta-oe/recipes-support/nghttp2/nghttp2_1.26.0.bb b/meta-oe/recipes-support/nghttp2/nghttp2_1.26.0.bb
> new file mode 100644
> index 0000000..3e6b10a
> --- /dev/null
> +++ b/meta-oe/recipes-support/nghttp2/nghttp2_1.26.0.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "HTTP/2 C Library and tools"
> +HOMEPAGE = "https://nghttp2.org/"
> +SECTION = "libs"
> +
> +DEPENDS = "pkgconfig cunit zlib openssl libxml2 jansson c-ares"

Adding pkgconfig to DEPENDS looks odd. Maybe the recipe should be
inheriting the pkgconfig class instead?

> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

Try to find a license text within the nghttp2 sources to use here.

> +SRC_URI = "https://github.com/nghttp2/nghttp2/releases/download/v${PV}/nghttp2-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "926f07ad3b50f38f7d8935ced04716cf"
> +SRC_URI[sha256sum] = "0df4229f4123b5aa96e834ebcfdffe954e93d986f0252fd10123d50c6f010983"
> +
> +inherit cmake pythonnative python-dir
> +
> +EXTRA_OECMAKE = ""

This is redundant and can be dropped.

> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list