From f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 30 Sep 2020 17:27:54 +0100 Subject: gentoo resync : 30.09.2020 --- dev-libs/aws-checksums/Manifest | 7 +++-- dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild | 24 ---------------- .../aws-checksums/aws-checksums-0.1.9-r1.ebuild | 33 ++++++++++++++++++++++ .../files/aws-checksums-0.1.9-cmake-prefix.patch | 26 +++++++++++++++++ dev-libs/aws-checksums/metadata.xml | 9 +++++- 5 files changed, 71 insertions(+), 28 deletions(-) delete mode 100644 dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild create mode 100644 dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild create mode 100644 dev-libs/aws-checksums/files/aws-checksums-0.1.9-cmake-prefix.patch (limited to 'dev-libs/aws-checksums') diff --git a/dev-libs/aws-checksums/Manifest b/dev-libs/aws-checksums/Manifest index 0f3337293da2..526e9e1b641b 100644 --- a/dev-libs/aws-checksums/Manifest +++ b/dev-libs/aws-checksums/Manifest @@ -1,3 +1,4 @@ -DIST aws-checksums-0.1.3.tar.gz 78242 BLAKE2B e78f3bb34e124351ad494e86e579613799afebcfe491fb36b20190121f2bf9de9d96714ad304a7fcd702708f5be417c6dbafe65606b2fe42c340edc796a3ecf3 SHA512 79bf71a6c4c268b27efe8a6a3c4b90281da4ce7f6e4c1c62fce80b11a4756ecfd4dc2b19624ace3f54137113d0cb56a517de0b91dd6338ee8ca069756bca13f4 -EBUILD aws-checksums-0.1.3.ebuild 536 BLAKE2B 2078883a7d3521896f5759b4f240693bb31da6cd1ede0841f5ac4c785bf92b15164f30a7df0df649413a15f421dce0ad8b9688cc040cb1b77d1993c63c880d8a SHA512 32a92b41b5bd40dd2ea80e9442315942e7bb7c9e211edd3e4a766afcb948e342cbd1f95d4ae6635fe2459b6f578891036d5baaf7d323e9f5d67ebf93ae349e9f -MISC metadata.xml 362 BLAKE2B 5547648b863d8a47ca4fdde628bbb7c4cb7316c8edfb0daa2c9dc79cce94325858c3f26f0bd9cd36ba57851e13c27822005cf3563e175877d06a13c43ceadea7 SHA512 e57176253c813d8e6b37f2f64416e9ef478230013fe39bd057f4af1945c7ac4ed9cf415b30b6c375263e87db11e6279a4ae55a7748b9e0cd1fcfb4d7888c40da +AUX aws-checksums-0.1.9-cmake-prefix.patch 966 BLAKE2B 5b1db93baf8699786ebb011590dbb5151dcd5210580fa5555b59c7cf28a7ff1336fb308dec393e1fd559d221359550375ec7de820977757495cabbe4aebf1fe2 SHA512 3b436c32ef1fcf1eab933ec4da9eb8952f4f8af9cdd8de4976b142b412bf132b310442e157731fd13ba21cd507ff70c552870e117e1e8a06f5c0830a077f99a8 +DIST aws-checksums-0.1.9.tar.gz 70967 BLAKE2B 2be344e9757236400879de2f946e7d7a41106c9544c1eefda0150bee3e483b909719d4612f4a8bbef1df01a8f5f887332f06e99aa0867f9d0f9b92f76c8badeb SHA512 16d8f1624d4a60c6a285c6212d2cc1bdf081fec4be5034095b89040543a0ccec6a2f22d9bacf156c781e0e06e80935e13f39c3643a77c2186b58211da4ca1207 +EBUILD aws-checksums-0.1.9-r1.ebuild 703 BLAKE2B e60e6a738acf70000c8cded9d9b5142a06f641bfcfe8e53d46446b9cefaa7819a8441af03655f0be3c61caabaae97f4cb60707c35e9c9d74cd89159272eb06db SHA512 20eab09bf6a5d2deedd838c14aba385a88d0739d193bf38da68921ee6a6556a82305d5ae1834711f85cecebeb6bff48f9490260755c90ec3c430bbfae5b73078 +MISC metadata.xml 560 BLAKE2B 9021d243e459572ef30be51e493e325f08cb515dd7484b0bb9268fedb69c11bdf9e4728931bf89ea9ff5250ee51592cdee543c5fe18d65293820ff4b167a0b84 SHA512 3106bc8fad12b73fdd39af5fc38cde0411c0fe24fa07b8b37349bcd4615cef52875595215455dde9db3bb847c65f1bebd79a16cb7d6261c4cec1ecc3d7faed6b diff --git a/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild b/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild deleted file mode 100644 index aaf6a73ee9aa..000000000000 --- a/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Cross-Platform HW accelerated CRC32c and CRC32 with software fallbacks" -HOMEPAGE="https://github.com/awslabs/aws-checksums" -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" - -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild b/dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild new file mode 100644 index 000000000000..bda76dac92c3 --- /dev/null +++ b/dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Cross-Platform HW accelerated CRC32c and CRC32 with software fallbacks" +HOMEPAGE="https://github.com/awslabs/aws-checksums" +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=] +" + +PATCHES=( + "${FILESDIR}/${P}-cmake-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-checksums/files/aws-checksums-0.1.9-cmake-prefix.patch b/dev-libs/aws-checksums/files/aws-checksums-0.1.9-cmake-prefix.patch new file mode 100644 index 000000000000..9ca2437960fc --- /dev/null +++ b/dev-libs/aws-checksums/files/aws-checksums-0.1.9-cmake-prefix.patch @@ -0,0 +1,26 @@ +From 97b3ba123af200d7dc4fe83e191e77c83ed7aff2 Mon Sep 17 00:00:00 2001 +From: Jakov Smolic +Date: Tue, 1 Sep 2020 09:55:46 +0200 +Subject: [PATCH] CMakeLists: Add mising CMAKE_INSTALL_PREFIX + +Signed-off-by: Jakov Smolic +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 888742b..193a94a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -23,7 +23,7 @@ elseif(NOT DEFINED CMAKE_INSTALL_LIBDIR) + 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}) +-- +2.26.2 + diff --git a/dev-libs/aws-checksums/metadata.xml b/dev-libs/aws-checksums/metadata.xml index d128563f8d91..43f7aa0e4eba 100644 --- a/dev-libs/aws-checksums/metadata.xml +++ b/dev-libs/aws-checksums/metadata.xml @@ -1,7 +1,14 @@ - + + sven.eden@prydeworx.com + Sven Eden + + + proxy-maint@gentoo.org + Proxy Maintainers + Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations. C interface with language -- cgit v1.2.3