summaryrefslogtreecommitdiff
path: root/dev-libs/aws-checksums
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /dev-libs/aws-checksums
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'dev-libs/aws-checksums')
-rw-r--r--dev-libs/aws-checksums/Manifest7
-rw-r--r--dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild (renamed from dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild)11
-rw-r--r--dev-libs/aws-checksums/files/aws-checksums-0.1.9-cmake-prefix.patch26
-rw-r--r--dev-libs/aws-checksums/metadata.xml9
4 files changed, 48 insertions, 5 deletions
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.9-r1.ebuild
index aaf6a73ee9aa..bda76dac92c3 100644
--- a/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild
+++ b/dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild
@@ -12,12 +12,21 @@ 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"
+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 <jakov.smolic@sartura.hr>
+Date: Tue, 1 Sep 2020 09:55:46 +0200
+Subject: [PATCH] CMakeLists: Add mising CMAKE_INSTALL_PREFIX
+
+Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
+---
+ 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <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>
<longdescription>
Cross-Platform HW accelerated CRC32c and CRC32 with fallback to
efficient SW implementations. C interface with language