From: Sven Eden Date: Thu, 15 Aug 2019 16:18:58 +0000 (+0200) Subject: dev-libs/aws-c-event-stream: amazon evenstream C99 implementation X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b616976c6e9faaea6e1de2994de5d4e42623460;p=gentoo.git 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 Bug: https://bugs.gentoo.org/666494 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Joonas Niilola --- diff --git a/dev-libs/aws-c-event-stream/Manifest b/dev-libs/aws-c-event-stream/Manifest new file mode 100644 index 000000000000..5244fb3eefe5 --- /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 000000000000..9da16245ceea --- /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 000000000000..0b4280944835 --- /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 000000000000..7fc93805817f --- /dev/null +++ b/dev-libs/aws-c-event-stream/metadata.xml @@ -0,0 +1,12 @@ + + + + + yamakuzure@gmx.net + Sven Eden + + + proxy-maint@gentoo.org + Proxy Maintainers + +