summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2020-09-29 09:50:18 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-09-30 10:06:43 +0300
commit6330cddc08ed7df0071217021bd093bdb9f0214c (patch)
treee3481069e865f144ffbd3e24ede835a9ab8a8b65 /dev-libs/aws-checksums
parentdev-libs/aws-c-common: Remove -Werror from build FLAGS (diff)
downloadgentoo-6330cddc08ed7df0071217021bd093bdb9f0214c.tar.gz
gentoo-6330cddc08ed7df0071217021bd093bdb9f0214c.tar.bz2
gentoo-6330cddc08ed7df0071217021bd093bdb9f0214c.zip
dev-libs/aws-checksums: Fix dependency on dev-libs/aws-c-common
This package also needs dev-libs/aws-c-common as it uses some of its parts for cmake. This change also fixes -Werror getting leaked into the build FLAGS. Closes: https://bugs.gentoo.org/745114 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sven Eden <sven.eden@prydeworx.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/aws-checksums')
-rw-r--r--dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild (renamed from dev-libs/aws-checksums/aws-checksums-0.1.9.ebuild)7
-rw-r--r--dev-libs/aws-checksums/metadata.xml9
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-libs/aws-checksums/aws-checksums-0.1.9.ebuild b/dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild
index dd1d298176c5..bda76dac92c3 100644
--- a/dev-libs/aws-checksums/aws-checksums-0.1.9.ebuild
+++ b/dev-libs/aws-checksums/aws-checksums-0.1.9-r1.ebuild
@@ -12,16 +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/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