aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkamura Kazuya <gentoo-guru@danceylove.net>2023-07-07 03:01:19 +0000
committerOkamura Kazuya <gentoo-guru@danceylove.net>2023-07-07 03:01:19 +0000
commitf2bc97956e95c1c9ff4f188713b34255d89ea926 (patch)
treee3ecb762a579b86f8366178eb5fa29cb8c194e83 /dev-libs
parentdev-libs/lsquic: fix missing RESTRICT with IUSE=test (diff)
downloadguru-f2bc97956e95c1c9ff4f188713b34255d89ea926.tar.gz
guru-f2bc97956e95c1c9ff4f188713b34255d89ea926.tar.bz2
guru-f2bc97956e95c1c9ff4f188713b34255d89ea926.zip
dev-libs/*: Allow installation of lsquic and its dependent libraries on arm64
Signed-off-by: Okamura Kazuya <gentoo-guru@danceylove.net>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ls-hpack/ls-hpack-2.3.0-r1.ebuild2
-rw-r--r--dev-libs/ls-qpack/ls-qpack-2.5.0-r1.ebuild31
-rw-r--r--dev-libs/lsquic/lsquic-3.2.0.ebuild2
3 files changed, 33 insertions, 2 deletions
diff --git a/dev-libs/ls-hpack/ls-hpack-2.3.0-r1.ebuild b/dev-libs/ls-hpack/ls-hpack-2.3.0-r1.ebuild
index e435b6304..59695af8e 100644
--- a/dev-libs/ls-hpack/ls-hpack-2.3.0-r1.ebuild
+++ b/dev-libs/ls-hpack/ls-hpack-2.3.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.ta
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
IUSE="static-libs"
PATCHES=(
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
new file mode 100644
index 000000000..4436301c0
--- /dev/null
+++ b/dev-libs/ls-qpack/ls-qpack-2.5.0-r1.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 ~arm64"
+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/lsquic/lsquic-3.2.0.ebuild b/dev-libs/lsquic/lsquic-3.2.0.ebuild
index 95bbaed3a..2a55f57fb 100644
--- a/dev-libs/lsquic/lsquic-3.2.0.ebuild
+++ b/dev-libs/lsquic/lsquic-3.2.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
IUSE="static-libs test"
RESTRICT="!test? ( test )"