diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-21 20:55:17 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-21 20:57:15 +0300 |
commit | 39b05fecbf785929cbbbd89ca548b8f27ff50fea (patch) | |
tree | b139d9f4f50cab38d1d380cb14c80a696e4e6d16 /dev-libs/crc32c | |
parent | www-client/opera-beta: remove old (diff) | |
download | gentoo-39b05fecbf785929cbbbd89ca548b8f27ff50fea.tar.gz gentoo-39b05fecbf785929cbbbd89ca548b8f27ff50fea.tar.bz2 gentoo-39b05fecbf785929cbbbd89ca548b8f27ff50fea.zip |
dev-libs/crc32c: add 1.1.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/crc32c')
-rw-r--r-- | dev-libs/crc32c/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/crc32c/crc32c-1.1.2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/crc32c/Manifest b/dev-libs/crc32c/Manifest index 8de75e4baf52..47e69b3b18f9 100644 --- a/dev-libs/crc32c/Manifest +++ b/dev-libs/crc32c/Manifest @@ -1,2 +1,3 @@ DIST crc32c-1.0.6.tar.gz 29596 BLAKE2B 5806e0a48cb3048c9b07abb75eb232491483176bbeb98bc11ad1b0ef7d4ce89929ad20b0354906fd67e8773541f9913f3948f1db9a3f3987fe7e2ca67e9d2467 SHA512 c30f6510d6348f15dcdddc06e375f21a69681cd615483d67628b32de747e5e98200fa49faf7e3fc30a1302991fd1f9c9a706c9eb4e13c9c6c09e74066474ea7b DIST crc32c-1.1.1.tar.gz 29829 BLAKE2B 5ffb0809e80d1fad81a77d96683d44142a7d84fc15ce18070cdcdb12fd9b67f7ec732a53d8af7dc4b77add859bf64c4fa8bc52a593830de931a7bd12c60498cc SHA512 c276160ec960a38cd535c998336472694819bc6eb37beb711bd43a31441d1808c8a14d3a1f0eccc780785b19f739a4a51f923867a20b0707c465e0cc03f457e9 +DIST crc32c-1.1.2.tar.gz 29819 BLAKE2B f48720e632b6a4aaab9591651ed92b268bc8fc5faacb01888094af86ecc9dec901be6edc419c534aebf94ade5a2ce2347c0ff2962ba57c62627d6d7c420fc23b SHA512 6325c52b5a6850b9f90086e0c0c86798c008af36e7cfd3a0216184a2d37b3bf7323481ddc6bfe4cbd5b31288b3ee6c69772d03085a13094cf95d00a9756a7196 diff --git a/dev-libs/crc32c/crc32c-1.1.2.ebuild b/dev-libs/crc32c/crc32c-1.1.2.ebuild new file mode 100644 index 000000000000..6eee30bb278d --- /dev/null +++ b/dev-libs/crc32c/crc32c-1.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="CRC32C implementation with support for CPU-specific acceleration instructions" +HOMEPAGE="https://github.com/google/crc32c" +SRC_URI="https://github.com/google/crc32c/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-cpp/gtest )" + +PATCHES=( + "${FILESDIR}/${PN}-1.1.1-system-testdeps.patch" +) + +DOCS=( README.md ) + +src_prepare() { + sed -e '/-Werror/d' -i CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCRC32C_BUILD_TESTS=$(usex test) + -DCRC32C_BUILD_BENCHMARKS=OFF + -DCRC32C_USE_GLOG=OFF + ) + + cmake_src_configure +} |