summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2020-09-01 08:48:34 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-09-28 14:25:05 +0300
commit35c25a81839989fe1124c64aa22f289b93948b44 (patch)
treefb627ccff6cd22c1d647c42809def538dbd8b7c7 /dev-libs/aws-c-event-stream
parentdev-libs/aws-c-common: Bump to 0.4.57 and add static-libs USE flag (diff)
downloadgentoo-35c25a81839989fe1124c64aa22f289b93948b44.tar.gz
gentoo-35c25a81839989fe1124c64aa22f289b93948b44.tar.bz2
gentoo-35c25a81839989fe1124c64aa22f289b93948b44.zip
dev-libs/aws-c-event-stream: Version Bump to 0.1.6 plus two fixes
* added static-libs USE flag. * depend on >=dev-libs/aws-c-common-0.4.26 From this version on, AwsFindPackage.cmake is available, which this package build system uses. Bug: https://bugs.gentoo.org/695418 Bug: https://bugs.gentoo.org/717574 Closes: https://bugs.gentoo.org/717574 Package-Manager: Portage-3.0.4, Repoman-3.0.1 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.1.6.ebuild34
-rw-r--r--dev-libs/aws-c-event-stream/metadata.xml11
3 files changed, 44 insertions, 2 deletions
diff --git a/dev-libs/aws-c-event-stream/Manifest b/dev-libs/aws-c-event-stream/Manifest
index 5244fb3eefe5..321b8fc0926a 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.3.tar.gz 27945 BLAKE2B 1e6944006d4da339726a4a4f292af5c0a9a31dcb907ff01cfb63f2efbcda0466fc42b770936704e3c8d49f00b1ba9e180726ed0de9acc38c3fb23553395da1b7 SHA512 d8959b8b30795a62fe5f15d95ccc81a705e9ba8f4e5f6a05e5a965bf705877992df5660d91fde3499fd3087405018e3207e0991fba214c1362d78ee824f4cca9
+DIST aws-c-event-stream-0.1.6.tar.gz 26952 BLAKE2B 0edebb4c290d7e33d06dcba64a339bb3f4c60aa8b9455d8d519b41c7cab7eae3ac80e3545219ce87174de8ca47be4c4cd88d7cf21deff87a10f4d121ca66d3bb SHA512 2eca4176d9429de2741e9650f84b726a9979842e729fd0d900c1265ff89886dd7e12f72b61fc3af7c3282ec9357b8f6290c92713cef68e474150c947a5773421
diff --git a/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.6.ebuild b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.6.ebuild
new file mode 100644
index 000000000000..b6977be2df0d
--- /dev/null
+++ b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.6.ebuild
@@ -0,0 +1,34 @@
+# 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 )"
+
+DEPEND="
+ >=dev-libs/aws-c-common-0.4.26:=[static-libs=]
+ dev-libs/aws-checksums
+"
+
+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
+}
diff --git a/dev-libs/aws-c-event-stream/metadata.xml b/dev-libs/aws-c-event-stream/metadata.xml
index 585b0dc75dda..82d545903897 100644
--- a/dev-libs/aws-c-event-stream/metadata.xml
+++ b/dev-libs/aws-c-event-stream/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- </pkgmetadata>
+ <maintainer type="person">
+ <email>sven.eden@prydeworx.com</email>
+ <name>Sven Eden</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>