diff options
author | Sam James <sam@gentoo.org> | 2022-02-21 02:55:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-21 02:56:06 +0000 |
commit | 12c34bc7a5c73936fe87a6f68d450e1c7ec4e359 (patch) | |
tree | 6bcd83a3dbfbffb8a0e88ef5d3e69d21935d3abe /dev-libs/cereal | |
parent | dev-python/symengine: add 0.9.1 (diff) | |
download | gentoo-12c34bc7a5c73936fe87a6f68d450e1c7ec4e359.tar.gz gentoo-12c34bc7a5c73936fe87a6f68d450e1c7ec4e359.tar.bz2 gentoo-12c34bc7a5c73936fe87a6f68d450e1c7ec4e359.zip |
dev-libs/cereal: add 1.3.1
Bug: https://bugs.gentoo.org/715538
Closes: https://bugs.gentoo.org/635322
Closes: https://bugs.gentoo.org/636550
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/cereal')
-rw-r--r-- | dev-libs/cereal/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cereal/cereal-1.3.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest index ab0042cb5f58..0ffb550d481d 100644 --- a/dev-libs/cereal/Manifest +++ b/dev-libs/cereal/Manifest @@ -1,2 +1,3 @@ DIST cereal-1.3.0-fix-doctest.patch 148684 BLAKE2B 6ab6263db5b787b3ae41b9c177df19554f17837d5bb496de887f1d2d2df28c280e038fe64f0986ce3a32cedb709249a9986f6869b6e21b7c3a4b27058739496f SHA512 6389bead42f2f8008e6296f3d5ff5fc7a94920972c774003080fd3ae24ea0fd8fa1c4ab940ab800ab6b3249db003e452fd98a9ed77e5ffbdb301311fc2972a6f DIST cereal-1.3.0.tar.gz 374585 BLAKE2B 67bcdf8715585d8913c6ae4ff1a20d77df0eb95816b37a77620a3f08000b6e911afbd295236a6cd0394d3242ae0a3b2619f6e168503724517c9c66bc20f1d07c SHA512 2bb640a222d4efe7c624c6ec3e755fecae00ef59e91c4db462e233546c5afe73c065ba1d16d9600f7cd3cc185593109148008b0b2b870208e2f1d6984fd40c72 +DIST cereal-1.3.1.tar.gz 385863 BLAKE2B dbf2a2c60453fb9d6b13743f9a37603a9a1cd239f623ab31701da2a13136730d8994ed09d07d4f6d033d2cd1d437137806d27012d3dc4819a8ce16a2f8cfd89b SHA512 5beafdd95b16344d5db43a0e26fd670a770e2c2a661ae117c9593db86697ca1034e2bf004fe6dc3c2a690e8a682f60d8b6121211d898009e59361ebef33f6fc9 diff --git a/dev-libs/cereal/cereal-1.3.1.ebuild b/dev-libs/cereal/cereal-1.3.1.ebuild new file mode 100644 index 000000000000..b8f35d34d146 --- /dev/null +++ b/dev-libs/cereal/cereal-1.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only C++11 serialization library" +HOMEPAGE="https://uscilab.github.io/cereal/" +SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + if ! use doc ; then + sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + # TODO: drop bundled doctest, rapidjson, rapidxml (bug #792444) + + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + + # Avoid Boost dependency + -DSKIP_PERFORMANCE_COMPARISON=ON + + -DSKIP_PORTABILITY_TEST=ON + -DWITH_WERROR=OFF + ) + + cmake_src_configure +} |