commit:     1135a0a9d90c3ca87faf8baae19b2809e13f9284
Author:     KotoishiHeart <trakrailysurely <AT> danceylove <DOT> net>
AuthorDate: Fri Jun 20 11:06:08 2025 +0000
Commit:     Okamura Kazuya <trakrailysurely <AT> danceylove <DOT> net>
CommitDate: Fri Jun 20 22:35:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1135a0a9

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

Signed-off-by: KotoishiHeart <trakrailysurely <AT> danceylove.net>
Part-of: https://github.com/gentoo/guru/pull/331
Signed-off-by: KotoishiHeart <trakrailysurely <AT> danceylove.net>

 dev-libs/aws-c-event-stream/Manifest               |  1 +
 .../aws-c-event-stream-0.5.4.ebuild                | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

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
+}

Reply via email to