dev-libs/aws-c-event-stream: add 0.5.4

Signed-off-by: KotoishiHeart <trakrailysurely@danceylove.net>
Part-of: https://github.com/gentoo/guru/pull/331
Signed-off-by: KotoishiHeart <trakrailysurely@danceylove.net>
This commit is contained in:
KotoishiHeart
2025-06-20 20:06:08 +09:00
parent c90480ca28
commit 1135a0a9d9
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST aws-c-event-stream-0.5.4.tar.gz 98545 BLAKE2B 786ee3db4e482547ed5de9d7982e3941809a895894431950194556d934de6a62fcfaddc3acc4688bd83caa5ccf647b926b96b37ba81373aff47da345e6027ee5 SHA512 5eb9d0aec42eeb637e16c6921a57d1de6a69da55842aed2230792632e62deb701be0049961e8b2daf6b01f048f2d9756cc71acebbcfc445ed0ebd8098a6b843a

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C99 implementation of the vnd.amazon.eventstream content-type"
HOMEPAGE="https://github.com/awslabs/aws-c-event-stream"
SRC_URI="https://github.com/awslabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/aws-c-common:=
dev-libs/aws-c-io:=
dev-libs/aws-checksums:=
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
if use test; then
# (#760585) Due to network sandboxing of portage, internet connectivity
# tests will always fail. If you need a USE flag, because you want/need
# to perform these tests manually, please open a bug report for it.
mycmakeargs+=(
-DENABLE_NET_TESTS=OFF
)
fi
cmake_src_configure
}