diff mbox series

[meta-networking,2/3] ngtcp2: add recipe

Message ID 20260305201754.151603-2-skandigraun@gmail.com
State New
Headers show
Series [meta-networking,1/3] nghttp3: add recipe | expand

Commit Message

Gyorgy Sarvari March 5, 2026, 8:17 p.m. UTC
ngtcp2 project is an effort to implement IETF QUIC protocol

It is a dependency of the new Samba recipe.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 .../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 mbox series

Patch

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"