dev-libs/ls-hpack - 2.3.4 (guru)

Search

Install

Install this version:

emerge -a =dev-libs/ls-hpack-2.3.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/ls-hpack-2.3.4

Or alternatively:

emerge --autounmask-write -a =dev-libs/ls-hpack-2.3.4

Package Information

Description:
QPACK compression library for use with HTTP/3
Homepage:
https://github.com/litespeedtech/ls-hpack/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.3.4 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2025 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}.gh.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() {
	local LIB_TYPE=$(usex static-libs a so)
	doheader lshpack.h
	dolib.${LIB_TYPE} "${BUILD_DIR}"/libls-hpack.${LIB_TYPE}
	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/ls-hpack | euse -E <flag> -p dev-libs/ls-hpack | euse -D <flag> -p dev-libs/ls-hpack

Global/Standard Flags

Inherited Eclasses

Manifest for 2.3.4

Type File Size Source URLs
DIST ls-hpack-2.3.4.gh.tar.gz 952641 bytes https://github.com/litespeedtech/ls-hpack/archive/v2.3.4.tar.gz