From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ls-qpack/
Date: Sat, 27 Apr 2024 18:32:01 +0000 (UTC) [thread overview]
Message-ID: <1714242594.8b04e3e3cb636a03771f7e42b6ef0f03d125678d.watermanpaint@gentoo> (raw)
commit: 8b04e3e3cb636a03771f7e42b6ef0f03d125678d
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Apr 27 18:28:50 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat Apr 27 18:29:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8b04e3e3
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 <AT> posteo.net>
dev-libs/ls-qpack/Manifest | 4 ++--
dev-libs/ls-qpack/ls-qpack-2.5.0-r1.ebuild | 12 +++++-------
dev-libs/ls-qpack/ls-qpack-2.5.4.ebuild | 12 +++++-------
3 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/dev-libs/ls-qpack/Manifest b/dev-libs/ls-qpack/Manifest
index cd8332ffc2..6945191389 100644
--- a/dev-libs/ls-qpack/Manifest
+++ b/dev-libs/ls-qpack/Manifest
@@ -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
diff --git a/dev-libs/ls-qpack/ls-qpack-2.5.0-r1.ebuild b/dev-libs/ls-qpack/ls-qpack-2.5.0-r1.ebuild
index 4436301c04..d2e1197d13 100644
--- a/dev-libs/ls-qpack/ls-qpack-2.5.0-r1.ebuild
+++ b/dev-libs/ls-qpack/ls-qpack-2.5.0-r1.ebuild
@@ -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
}
diff --git a/dev-libs/ls-qpack/ls-qpack-2.5.4.ebuild b/dev-libs/ls-qpack/ls-qpack-2.5.4.ebuild
index 4436301c04..d2e1197d13 100644
--- a/dev-libs/ls-qpack/ls-qpack-2.5.4.ebuild
+++ b/dev-libs/ls-qpack/ls-qpack-2.5.4.ebuild
@@ -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
}
next reply other threads:[~2024-04-27 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-27 18:32 Lucio Sauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-05 1:17 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ls-qpack/ Okamura Kazuya
2024-04-27 16:40 Okamura Kazuya
2023-07-09 11:21 Okamura Kazuya
2023-06-27 15:29 Okamura Kazuya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1714242594.8b04e3e3cb636a03771f7e42b6ef0f03d125678d.watermanpaint@gentoo \
--to=watermanpaint@posteo.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox