aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkamura Kazuya <gentoo-guru@danceylove.net>2024-04-28 01:36:53 +0900
committerOkamura Kazuya <gentoo-guru@danceylove.net>2024-04-28 01:36:53 +0900
commitcb9262838fa3565ab2d9e34dd5a11a0809ee6971 (patch)
treec43ac8d3f948375250f9c657fed69c1a7a1f2127 /dev-libs
parentdev-libs/ip2loc: bump 8.6.1 (diff)
downloadguru-cb9262838fa3565ab2d9e34dd5a11a0809ee6971.tar.gz
guru-cb9262838fa3565ab2d9e34dd5a11a0809ee6971.tar.bz2
guru-cb9262838fa3565ab2d9e34dd5a11a0809ee6971.zip
dev-libs/ls-hpack: bump 2.3.3
Signed-off-by: Okamura Kazuya <gentoo-guru@danceylove.net>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ls-hpack/Manifest1
-rw-r--r--dev-libs/ls-hpack/ls-hpack-2.3.3.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/ls-hpack/Manifest b/dev-libs/ls-hpack/Manifest
index 7ed747950..efc11640b 100644
--- a/dev-libs/ls-hpack/Manifest
+++ b/dev-libs/ls-hpack/Manifest
@@ -1 +1,2 @@
DIST ls-hpack-2.3.0.tar.gz 954741 BLAKE2B d93494c5d3e08c13e496021467b4984400739168916389e72def3f8619ddd056a73b01121453905376ac20935d7f05b8732ace9290345d0558a7ccc1b266d04d SHA512 45866b18042125cbbd008eed2935a938a42e1682030aa52ff4a324ddbad7bf9bd483161352cc8988bae668e132ee8b4b043ddc09d9e0316a66aaefd927ae2d76
+DIST ls-hpack-2.3.3.tar.gz 952559 BLAKE2B 18240d2f53524f3db0d18c76dc2ead041f1a3b7a0cff242610e9aab4d335a1b3bcecdc10f887805ae924caf2fb50db5ec53a05cd3ba521402e59d378d185fdfd SHA512 157af5f0bc31f77b18fd806d27a9483c79254c360ee5cc7a16617b86df6a1024a268215a49f459f31ac06fa4c9b03a8c0e6d999bfe6c90548e2fd8ccd3d9b54d
diff --git a/dev-libs/ls-hpack/ls-hpack-2.3.3.ebuild b/dev-libs/ls-hpack/ls-hpack-2.3.3.ebuild
new file mode 100644
index 000000000..59695af8e
--- /dev/null
+++ b/dev-libs/ls-hpack/ls-hpack-2.3.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="QPACK compression library for use with HTTP/3"
+HOMEPAGE="https://github.com/litespeedtech/ls-hpack/"
+SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="static-libs"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-disable-overwrites-flags.patch
+ "${FILESDIR}"/${PN}-disable-tests.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DSHARED=$(usex !static-libs 1 0)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cp ${S}_build/libls-hpack.* ${S} || die
+ newheader lshpack.h lshpack.h
+ if [[ $(usex static-libs) == "yes" ]] ; then
+ newlib.a libls-hpack.a libls-hpack.a
+ else
+ newlib.so libls-hpack.so libls-hpack.so
+ fi
+ einstalldocs
+}