From 0541742ec0c85acb1fc07c85cbb8e01e61af18be Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Thu, 5 Mar 2026 21:17:50 +0100 Subject: [PATCH] ngtcp2: add recipe ngtcp2 project is an effort to implement IETF QUIC protocol It is a dependency of the new Samba recipe. Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../recipes-protocols/ngtcp2/ngtcp2_1.21.0.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-networking/recipes-protocols/ngtcp2/ngtcp2_1.21.0.bb diff --git a/meta-networking/recipes-protocols/ngtcp2/ngtcp2_1.21.0.bb b/meta-networking/recipes-protocols/ngtcp2/ngtcp2_1.21.0.bb new file mode 100644 index 0000000000..f71de5aa07 --- /dev/null +++ b/meta-networking/recipes-protocols/ngtcp2/ngtcp2_1.21.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "ngtcp2 project is an effort to implement IETF QUIC protocol" +HOMEPAGE = "https://nghttp2.org/ngtcp2" +BUGTRACKER = "https://github.com/ngtcp2/ngtcp2/issues" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=de0966c8ff4f62661a3da92967a75434" + +SRC_URI = "gitsm://github.com/ngtcp2/ngtcp2;protocol=https;branch=main;tag=v${PV};name=ngtcp2" +SRCREV = "9e32add590fc74707b62f61aa5e0aa5c6f8a2c60" + +DEPENDS = "brotli libev nghttp3" + +inherit cmake + +PACKAGECONFIG ?= "shared gnutls" + +PACKAGECONFIG[static] = "-DENABLE_STATIC_LIB=ON, -DENABLE_STATIC_LIB=OFF" +PACKAGECONFIG[shared] = "-DENABLE_SHARED_LIB=ON, -DENABLE_SHARED_LIB=OFF" +PACKAGECONFIG[build-lib-only] = "-DENABLE_LIB_ONLY=ON, -DENABLE_LIB_ONLY=OFF" +PACKAGECONFIG[openssl] = "-DENABLE_OPENSSL=ON, -DENABLE_OPENSSL=OFF, openssl" +PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON, -DENABLE_GNUTLS=OFF, gnutls"