From 1135a0a9d90c3ca87faf8baae19b2809e13f9284 Mon Sep 17 00:00:00 2001 From: KotoishiHeart Date: Fri, 20 Jun 2025 20:06:08 +0900 Subject: [PATCH] dev-libs/aws-c-event-stream: add 0.5.4 Signed-off-by: KotoishiHeart Part-of: https://github.com/gentoo/guru/pull/331 Signed-off-by: KotoishiHeart --- dev-libs/aws-c-event-stream/Manifest | 1 + .../aws-c-event-stream-0.5.4.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-libs/aws-c-event-stream/Manifest create mode 100644 dev-libs/aws-c-event-stream/aws-c-event-stream-0.5.4.ebuild diff --git a/dev-libs/aws-c-event-stream/Manifest b/dev-libs/aws-c-event-stream/Manifest new file mode 100644 index 0000000000..2ae080a8a5 --- /dev/null +++ b/dev-libs/aws-c-event-stream/Manifest @@ -0,0 +1 @@ +DIST aws-c-event-stream-0.5.4.tar.gz 98545 BLAKE2B 786ee3db4e482547ed5de9d7982e3941809a895894431950194556d934de6a62fcfaddc3acc4688bd83caa5ccf647b926b96b37ba81373aff47da345e6027ee5 SHA512 5eb9d0aec42eeb637e16c6921a57d1de6a69da55842aed2230792632e62deb701be0049961e8b2daf6b01f048f2d9756cc71acebbcfc445ed0ebd8098a6b843a diff --git a/dev-libs/aws-c-event-stream/aws-c-event-stream-0.5.4.ebuild b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.5.4.ebuild new file mode 100644 index 0000000000..6335b70354 --- /dev/null +++ b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.5.4.ebuild @@ -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 +}