From f0699a9cb4abb40fa01039e428b4e6e821445103 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Tue, 8 Dec 2020 09:00:40 +0100 Subject: dev-libs/aws-checksums: Version 0.1.10 Bump * Raise dependency of dev-libs/aws-c-common to at least 0.4.62 * Also block dev-util/cmake-3.19.0 and dev-util/cmake-3.19.1, which introduced a regression causing configure phase to fail. [0] [0] https://gitlab.kitware.com/cmake/cmake/-/issues/21529 Bug: https://bugs.gentoo.org/755932 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Sven Eden Signed-off-by: Joonas Niilola --- dev-libs/aws-checksums/Manifest | 1 + dev-libs/aws-checksums/aws-checksums-0.1.10.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-libs/aws-checksums/aws-checksums-0.1.10.ebuild (limited to 'dev-libs/aws-checksums') diff --git a/dev-libs/aws-checksums/Manifest b/dev-libs/aws-checksums/Manifest index 5ae05de0ed8e..76ff7761529c 100644 --- a/dev-libs/aws-checksums/Manifest +++ b/dev-libs/aws-checksums/Manifest @@ -1 +1,2 @@ +DIST aws-checksums-0.1.10.tar.gz 70961 BLAKE2B ef0644b8b6f81ca743955170940b9e152bf6b48d8146ea0ebe11b37eac607fe6544a826d9a14b273575837c842a3e539e4829571df1c4fa61bf9008e44872e8c SHA512 a76eb274f668189cb303f7010311e51551b224d19bf54bb152c3d9346ab837c33300fc6c1e9c35b04922101817cca8b3ea7968f6cdecf1166e7933bf0348edb6 DIST aws-checksums-0.1.9.tar.gz 70967 BLAKE2B 2be344e9757236400879de2f946e7d7a41106c9544c1eefda0150bee3e483b909719d4612f4a8bbef1df01a8f5f887332f06e99aa0867f9d0f9b92f76c8badeb SHA512 16d8f1624d4a60c6a285c6212d2cc1bdf081fec4be5034095b89040543a0ccec6a2f22d9bacf156c781e0e06e80935e13f39c3643a77c2186b58211da4ca1207 diff --git a/dev-libs/aws-checksums/aws-checksums-0.1.10.ebuild b/dev-libs/aws-checksums/aws-checksums-0.1.10.ebuild new file mode 100644 index 000000000000..b9a98bfc8917 --- /dev/null +++ b/dev-libs/aws-checksums/aws-checksums-0.1.10.ebuild @@ -0,0 +1,38 @@ +# 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 )" + +BDEPEND=" + || ( dev-util/cmake-3.19.1 ) +" + +DEPEND=" + >=dev-libs/aws-c-common-0.4.62:=[static-libs=] +" + +PATCHES=( + "${FILESDIR}/${PN}-0.1.9-cmake-prefix.patch" +) + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=$(usex !static-libs) + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} -- cgit v1.2.3-65-gdbad