public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/aws-c-event-stream/files/, dev-libs/aws-c-event-stream/
@ 2019-09-20 15:36 Joonas Niilola
  0 siblings, 0 replies; only message in thread
From: Joonas Niilola @ 2019-09-20 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     6b616976c6e9faaea6e1de2994de5d4e42623460
Author:     Sven Eden <yamakuzure <AT> gmx <DOT> net>
AuthorDate: Thu Aug 15 16:18:58 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 15:23:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b616976

dev-libs/aws-c-event-stream: amazon evenstream C99 implementation

C99 implementation of the vnd.amazon.eventstream content-type

Dependency for dev-libs/aws-sdk-cpp-1.7.178

Signed-off-by: Sven Eden <yamakuzure <AT> gmx.net>
Bug: https://bugs.gentoo.org/666494
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/aws-c-event-stream/Manifest               |  1 +
 .../aws-c-event-stream-0.1.3.ebuild                | 29 ++++++++++++++++++++++
 .../0.1.3-add_missing_cmake_install_prefix.patch   | 11 ++++++++
 dev-libs/aws-c-event-stream/metadata.xml           | 12 +++++++++
 4 files changed, 53 insertions(+)

diff --git a/dev-libs/aws-c-event-stream/Manifest b/dev-libs/aws-c-event-stream/Manifest
new file mode 100644
index 00000000000..5244fb3eefe
--- /dev/null
+++ b/dev-libs/aws-c-event-stream/Manifest
@@ -0,0 +1 @@
+DIST aws-c-event-stream-0.1.3.tar.gz 27945 BLAKE2B 1e6944006d4da339726a4a4f292af5c0a9a31dcb907ff01cfb63f2efbcda0466fc42b770936704e3c8d49f00b1ba9e180726ed0de9acc38c3fb23553395da1b7 SHA512 d8959b8b30795a62fe5f15d95ccc81a705e9ba8f4e5f6a05e5a965bf705877992df5660d91fde3499fd3087405018e3207e0991fba214c1362d78ee824f4cca9

diff --git a/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild
new file mode 100644
index 00000000000..9da16245cee
--- /dev/null
+++ b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+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="test"
+
+DEPEND="dev-libs/aws-c-common"
+
+PATCHES=(
+	"${FILESDIR}"/${PV}-add_missing_cmake_install_prefix.patch
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+	)
+	cmake-utils_src_configure
+}

diff --git a/dev-libs/aws-c-event-stream/files/0.1.3-add_missing_cmake_install_prefix.patch b/dev-libs/aws-c-event-stream/files/0.1.3-add_missing_cmake_install_prefix.patch
new file mode 100644
index 00000000000..0b428094483
--- /dev/null
+++ b/dev-libs/aws-c-event-stream/files/0.1.3-add_missing_cmake_install_prefix.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt	2019-09-20 08:43:35.141590222 +0200
++++ b/CMakeLists.txt	2019-09-20 08:43:48.309590263 +0200
+@@ -28,7 +28,7 @@
+ endif()
+ 
+ # This is required in order to append /lib/cmake to each element in CMAKE_PREFIX_PATH
+-set(AWS_MODULE_DIR "/${CMAKE_INSTALL_LIBDIR}/cmake")
++set(AWS_MODULE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake")
+ string(REPLACE ";" "${AWS_MODULE_DIR};" AWS_MODULE_PATH "${CMAKE_PREFIX_PATH}${AWS_MODULE_DIR}")
+ # Append that generated list to the module search path
+ list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH})

diff --git a/dev-libs/aws-c-event-stream/metadata.xml b/dev-libs/aws-c-event-stream/metadata.xml
new file mode 100644
index 00000000000..7fc93805817
--- /dev/null
+++ b/dev-libs/aws-c-event-stream/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>yamakuzure@gmx.net</email>
+		<name>Sven Eden</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-20 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-20 15:36 [gentoo-commits] repo/gentoo:master commit in: dev-libs/aws-c-event-stream/files/, dev-libs/aws-c-event-stream/ Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox