diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /dev-libs/cereal | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'dev-libs/cereal')
-rw-r--r-- | dev-libs/cereal/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/cereal/cereal-1.3.0-r2.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest index 4d05b42947f9..b3ca2cb069e0 100644 --- a/dev-libs/cereal/Manifest +++ b/dev-libs/cereal/Manifest @@ -1,3 +1,5 @@ +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 EBUILD cereal-1.3.0-r1.ebuild 815 BLAKE2B 8ca410517b7d8f92e4d0fc8c534fbc1bf6d20790c3842b1323d11df7afa657c3c89e891efd51bf20a2af3b7278fc97493285f87490e9b8598e745cee4e351d77 SHA512 e44bb348fbded83fe7a5277570a0bc4ccc7558d11fdca65df216140fb51b548e0a814e77dfecd8b5e00dcb1df237bc06449d2b08059207fcecad5efebfd6ff04 +EBUILD cereal-1.3.0-r2.ebuild 1001 BLAKE2B 849295f524d5e285b4f6fa6e5331203106a0f5f65d7b8dc8ec905c07355a2854fd0200939fc241c526957268cd0914c83651c5c58f125c6b8730779b666bf06c SHA512 1306d222db5e7e44eee8cc4f25dd3f2939e74787da0a266b0bdcafa3341326907b6250099987b44287192583207d8be21081106068e48701540cf914b04247b3 MISC metadata.xml 395 BLAKE2B 6a5de4941e400c48ca8148af6748f2054614eb28337e6f8ea6f282c4fa961c8f60a57fe2e98f87cefd32cd72de32c4cbe2d13f8f7bfc91d6ba1cbdc42adcf200 SHA512 344f769d49106b234ccaa39934eb2531f2161a018c302efd27bad57f072e7ee41501f8b3c189694a9059a6ef24053ea80219307a910f64838e9c0ff51588c850 diff --git a/dev-libs/cereal/cereal-1.3.0-r2.ebuild b/dev-libs/cereal/cereal-1.3.0-r2.ebuild new file mode 100644 index 000000000000..13631891d50a --- /dev/null +++ b/dev-libs/cereal/cereal-1.3.0-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 + https://dev.gentoo.org/~expeditioneer/patches/${P}-fix-doctest.patch" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+doc test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-libs/boost )" + +PATCHES=( "${DISTDIR}/${P}-fix-doctest.patch" ) + +src_prepare() { + sed -i -e '/set(CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast ${CMAKE_CXX_FLAGS}")/d' CMakeLists.txt || die + + if ! use doc ; then + sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + local CMAKE_BUILD_TYPE="Release" + + local mycmakeargs=( + -DJUST_INSTALL_CEREAL=$(usex !test) + -DSKIP_PORTABILITY_TEST=ON + -DWITH_WERROR=OFF + ) + cmake_src_configure +} |