From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1532948-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 87F82158009
	for <garchives@archives.gentoo.org>; Tue, 27 Jun 2023 15:29:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9FA9BE0858;
	Tue, 27 Jun 2023 15:29:12 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 77DC2E0849
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Jun 2023 15:29:12 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9D02534103C
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Jun 2023 15:29:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EF269A84
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Jun 2023 15:29:09 +0000 (UTC)
From: "Okamura Kazuya" <trakrailysurely@danceylove.net>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Okamura Kazuya" <trakrailysurely@danceylove.net>
Message-ID: <1687879652.5d986a48efbe3069373a2681626c9bd449fca6ca.trakrailysurely@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ls-qpack/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-libs/ls-qpack/Manifest dev-libs/ls-qpack/ls-qpack-2.5.0.ebuild dev-libs/ls-qpack/metadata.xml
X-VCS-Directories: dev-libs/ls-qpack/
X-VCS-Committer: trakrailysurely
X-VCS-Committer-Name: Okamura Kazuya
X-VCS-Revision: 5d986a48efbe3069373a2681626c9bd449fca6ca
X-VCS-Branch: dev
Date: Tue, 27 Jun 2023 15:29:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 2e773bd4-76d1-434f-a150-267d539d1ce0
X-Archives-Hash: 66881de75b844552cddf83aebe556bfa

commit:     5d986a48efbe3069373a2681626c9bd449fca6ca
Author:     Okamura Kazuya <gentoo-guru <AT> danceylove <DOT> net>
AuthorDate: Tue Jun 27 15:27:32 2023 +0000
Commit:     Okamura Kazuya <trakrailysurely <AT> danceylove <DOT> net>
CommitDate: Tue Jun 27 15:27:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d986a48

dev-libs/ls-qpack: new package, add 2.5.0

Signed-off-by: Okamura Kazuya <gentoo-guru <AT> danceylove.net>

 dev-libs/ls-qpack/Manifest              |  1 +
 dev-libs/ls-qpack/ls-qpack-2.5.0.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-libs/ls-qpack/metadata.xml          | 11 +++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-libs/ls-qpack/Manifest b/dev-libs/ls-qpack/Manifest
new file mode 100644
index 000000000..81b3b388b
--- /dev/null
+++ b/dev-libs/ls-qpack/Manifest
@@ -0,0 +1 @@
+DIST ls-qpack-2.5.0.tar.gz 708076 BLAKE2B dea75220c8c905bfe6ca2d52150eb9d69c656f01941f13dade45592e88f8456c7b3be81ca4bd403de84cfd3ba6c97b1bcb419b4be08c5954a11c11f9834c2530 SHA512 66ff577994d448c7f6745b0cb6984a705c6180e3ccf1795e207ed1827288938a819fe31827cfc911fb5fecf5b731cf4671dd26b6a6f08ee5582e84730d4211cc

diff --git a/dev-libs/ls-qpack/ls-qpack-2.5.0.ebuild b/dev-libs/ls-qpack/ls-qpack-2.5.0.ebuild
new file mode 100644
index 000000000..ab716aa5b
--- /dev/null
+++ b/dev-libs/ls-qpack/ls-qpack-2.5.0.ebuild
@@ -0,0 +1,31 @@
+# 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-qpack/"
+SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=$(usex !static-libs)
+	)
+	cmake_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/
+	einstalldocs
+}

diff --git a/dev-libs/ls-qpack/metadata.xml b/dev-libs/ls-qpack/metadata.xml
new file mode 100644
index 000000000..3d03643f8
--- /dev/null
+++ b/dev-libs/ls-qpack/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>gentoo-guru@danceylove.net</email>
+    <name>Okamura Kazuya</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">litespeedtech/ls-qpack</remote-id>
+  </upstream>
+</pkgmetadata>