summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2020-12-08 10:24:12 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-12-13 12:50:21 +0200
commit671b10eb514775c1cbdf28c59995ae371b625292 (patch)
tree84b082b31d9370f2f91fad5c31a13815f6816040 /dev-libs/aws-c-event-stream
parentdev-libs/aws-c-io: IO/TLS module, for dev-libs/aws-c-event-stream (diff)
downloadgentoo-671b10eb514775c1cbdf28c59995ae371b625292.tar.gz
gentoo-671b10eb514775c1cbdf28c59995ae371b625292.tar.bz2
gentoo-671b10eb514775c1cbdf28c59995ae371b625292.zip
dev-libs/aws-c-event-stream: Version 0.2.5 Bump, fix #756325
* Event stream rpc full stack [0] event-stream-rpc implementation and tests. Added aws-c-io dependency. * Marked RPC tests as net tests [1] * Added test helper to ensure symbol is exported [2] * Fixed shared-lib builds [3] * Added newline [4] Also: * Raise dependency of dev-libs/aws-c-common to at least 0.4.62 * Depend now on dev-libs/aws-c-io as demanded by [0] * Block dev-util/cmake-3.19.0 and dev-util/cmake-3.19.1, which introduced a regression causing configure phase to fail. [5] [0] https://github.com/awslabs/aws-c-event-stream/pull/48 [1] https://github.com/awslabs/aws-c-event-stream/pull/49 [2] https://github.com/awslabs/aws-c-event-stream/pull/50 [3] https://github.com/awslabs/aws-c-event-stream/pull/51 [4] https://github.com/awslabs/aws-c-event-stream/pull/53 [5] https://gitlab.kitware.com/cmake/cmake/-/issues/21529 Closes: https://bugs.gentoo.org/756325 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Sven Eden <sven.eden@prydeworx.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/aws-c-event-stream')
-rw-r--r--dev-libs/aws-c-event-stream/Manifest1
-rw-r--r--dev-libs/aws-c-event-stream/aws-c-event-stream-0.2.5.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/aws-c-event-stream/Manifest b/dev-libs/aws-c-event-stream/Manifest
index c2b13f320ab7..cf7ed9a7cafe 100644
--- a/dev-libs/aws-c-event-stream/Manifest
+++ b/dev-libs/aws-c-event-stream/Manifest
@@ -1 +1,2 @@
DIST aws-c-event-stream-0.1.6.tar.gz 26952 BLAKE2B 0edebb4c290d7e33d06dcba64a339bb3f4c60aa8b9455d8d519b41c7cab7eae3ac80e3545219ce87174de8ca47be4c4cd88d7cf21deff87a10f4d121ca66d3bb SHA512 2eca4176d9429de2741e9650f84b726a9979842e729fd0d900c1265ff89886dd7e12f72b61fc3af7c3282ec9357b8f6290c92713cef68e474150c947a5773421
+DIST aws-c-event-stream-0.2.5.tar.gz 61949 BLAKE2B baebd87a916fb8440db56afa2b97bd02229d70e00b55c40a17a2f467ad683422a6c6747aa698adce5272a03ced3fe6957d8cc62040d8080d3ed95409d8182851 SHA512 1421d608d8a5cfa5ec5df3bd905aab9ce9abc913461569a99b895c8415e50305aca0be3595bd4f3ed74cb52cc0e342354d211531066fdde60e14dd60e5629239
diff --git a/dev-libs/aws-c-event-stream/aws-c-event-stream-0.2.5.ebuild b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.2.5.ebuild
new file mode 100644
index 000000000000..b18b4fb82437
--- /dev/null
+++ b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.2.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+IUSE="static-libs test"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ || ( <dev-util/cmake-3.19.0
+ >dev-util/cmake-3.19.1 )
+"
+
+DEPEND="
+ >=dev-libs/aws-c-common-0.4.62:=[static-libs=]
+ >=dev-libs/aws-checksums-0.1.10:=[static-libs=]
+"
+
+PATCHES=(
+ "${FILESDIR}"/0.1.3-add_missing_cmake_install_prefix.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=$(usex !static-libs)
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}