Add nghttp2, nghttp3, ngtcp2

This commit is contained in:
crazywhalecc
2026-02-02 15:56:12 +08:00
parent 1586825b5b
commit 82ab14165e
6 changed files with 185 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
nghttp2:
type: library
artifact:
source:
type: ghrel
repo: nghttp2/nghttp2
match: nghttp2.+\.tar\.xz
prefer-stable: true
metadata:
license-files: [COPYING]
depends:
- zlib
- openssl
suggests:
- libxml2
- nghttp3
- ngtcp2
- brotli
headers:
- nghttp2
static-libs@unix:
- libnghttp2.a
pkg-configs:
- libnghttp2

View File

@@ -0,0 +1,19 @@
nghttp3:
type: library
artifact:
source:
type: ghrel
repo: ngtcp2/nghttp3
match: nghttp3.+\.tar\.xz
prefer-stable: true
metadata:
license-files: [COPYING]
license: MIT
depends:
- openssl
headers:
- nghttp3
static-libs@unix:
- libnghttp3.a
pkg-configs:
- libnghttp3

24
config/pkg/lib/ngtcp2.yml Normal file
View File

@@ -0,0 +1,24 @@
ngtcp2:
type: library
artifact:
source:
type: ghrel
repo: ngtcp2/ngtcp2
match: ngtcp2.+\.tar\.xz
prefer-stable: true
metadata:
license-files: [COPYING]
license: MIT
depends:
- openssl
suggests:
- nghttp3
- brotli
headers:
- ngtcp2
static-libs@unix:
- libngtcp2.a
- libngtcp2_crypto_ossl.a
pkg-configs:
- libngtcp2
- libngtcp2_crypto_ossl