dev-libs/ls-qpack: fix EbuildUnquotedVariablesCheck

Use simpler query and install functions
Add suffix to GitHub-generated archive
Bump copyright

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-04-27 20:28:50 +02:00
parent 094236653c
commit 8b04e3e3cb
3 changed files with 12 additions and 16 deletions

View File

@@ -1,2 +1,2 @@
DIST ls-qpack-2.5.0.tar.gz 708076 BLAKE2B dea75220c8c905bfe6ca2d52150eb9d69c656f01941f13dade45592e88f8456c7b3be81ca4bd403de84cfd3ba6c97b1bcb419b4be08c5954a11c11f9834c2530 SHA512 66ff577994d448c7f6745b0cb6984a705c6180e3ccf1795e207ed1827288938a819fe31827cfc911fb5fecf5b731cf4671dd26b6a6f08ee5582e84730d4211cc
DIST ls-qpack-2.5.4.tar.gz 708563 BLAKE2B 780e26e54d78f74cd5ce88073b4c34b5b34abbab0314bf4b39ce47a20433e6ccae093ee030c69ce83e6b71ce416b57956550cabbf11fa6d36cc7309426c81d7d SHA512 7677f673b4b23a68ad5e899706f17536777b30d7e91c63d3ea97504a6a2885cf7f431c191ac0581631723151050f914ec31bcb84e2b6e3fcdf4140cde0a18063
DIST ls-qpack-2.5.0.gh.tar.gz 708076 BLAKE2B dea75220c8c905bfe6ca2d52150eb9d69c656f01941f13dade45592e88f8456c7b3be81ca4bd403de84cfd3ba6c97b1bcb419b4be08c5954a11c11f9834c2530 SHA512 66ff577994d448c7f6745b0cb6984a705c6180e3ccf1795e207ed1827288938a819fe31827cfc911fb5fecf5b731cf4671dd26b6a6f08ee5582e84730d4211cc
DIST ls-qpack-2.5.4.gh.tar.gz 708563 BLAKE2B 780e26e54d78f74cd5ce88073b4c34b5b34abbab0314bf4b39ce47a20433e6ccae093ee030c69ce83e6b71ce416b57956550cabbf11fa6d36cc7309426c81d7d SHA512 7677f673b4b23a68ad5e899706f17536777b30d7e91c63d3ea97504a6a2885cf7f431c191ac0581631723151050f914ec31bcb84e2b6e3fcdf4140cde0a18063

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit cmake
DESCRIPTION="QPACK compression library for use with HTTP/3"
HOMEPAGE="https://github.com/litespeedtech/ls-qpack/"
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -22,10 +22,8 @@ src_configure() {
}
src_install() {
mkdir -p ${D}/usr/include/
mkdir -p ${D}/usr/lib64/
cp ${S}_build/libls* ${D}/usr/lib64/
cp ${S}/lsxpack_header.h ${D}/usr/include/
cp ${S}/lsqpack.h ${D}/usr/include/
local LIB_TYPE=$(usex static-libs a so)
doheader ls{qpack,xpack_header}.h
dolib.${LIB_TYPE} "${BUILD_DIR}"/libls-qpack.${LIB_TYPE}
einstalldocs
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit cmake
DESCRIPTION="QPACK compression library for use with HTTP/3"
HOMEPAGE="https://github.com/litespeedtech/ls-qpack/"
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -22,10 +22,8 @@ src_configure() {
}
src_install() {
mkdir -p ${D}/usr/include/
mkdir -p ${D}/usr/lib64/
cp ${S}_build/libls* ${D}/usr/lib64/
cp ${S}/lsxpack_header.h ${D}/usr/include/
cp ${S}/lsqpack.h ${D}/usr/include/
local LIB_TYPE=$(usex static-libs a so)
doheader ls{qpack,xpack_header}.h
dolib.${LIB_TYPE} "${BUILD_DIR}"/libls-qpack.${LIB_TYPE}
einstalldocs
}