diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-17 17:57:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-17 17:57:35 +0100 |
commit | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (patch) | |
tree | d07709230f82777cae6ba7dab35aee31896060fb /dev-libs/cereal | |
parent | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (diff) |
gentoo resync : 17.06.2021
Diffstat (limited to 'dev-libs/cereal')
-rw-r--r-- | dev-libs/cereal/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/cereal/cereal-1.3.0-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-libs/cereal/metadata.xml | 6 |
3 files changed, 44 insertions, 2 deletions
diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest index 362bf73b06ac..275f511fc280 100644 --- a/dev-libs/cereal/Manifest +++ b/dev-libs/cereal/Manifest @@ -1,3 +1,4 @@ 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.ebuild 553 BLAKE2B ae9b5d7897c871ef8f67495e0162f1fd5c88abb03eb146c17321d49b53454d5369725a80bf421a75a60b977aaa5eb98007f4fce258a83f1b45e7f3c0099abf52 SHA512 9d6f822c803d6da65184219b0644b1f6941824ecc67de12c6325be3e6391bdce32826f993de434ac7ab690579956bb6c2f6688c54b5db4511856c1686f96e618 -MISC metadata.xml 246 BLAKE2B 5b5665b0dd02a1ffcb5fa8c1c1ad30d32b6996e772f2d5418b3c705fe6514e26c27ff8c09c7d64ac7bf3223600c0d97a652c54cfbc98fa12c952ed01da6f85cc SHA512 11bd994e7a2b931824521a66ee32e85fa73e75d7aa3207d9b24ffca4e698c0e5e3100291710afa0d4e8b6e4d4529dd4ecdafa3827cd05761dd6b60c4c3b9820c +MISC metadata.xml 394 BLAKE2B 436d9bbaeb57804831437da0632e3902af16aa36f0bacfc162a3b5f45c74a96f35997fc18ad0a204b0150dad1f9897953fe9a5f39eb22c2d67a00835cf4fbb5b SHA512 9fb5069ca3081f9fe590e8af3c925cd4ced1a945d7357ecb6debeff5635404d3dc98c6cc4583724206b78a0438eca3dbddb2df917441dd1e2d7f61350de560bf diff --git a/dev-libs/cereal/cereal-1.3.0-r1.ebuild b/dev-libs/cereal/cereal-1.3.0-r1.ebuild new file mode 100644 index 000000000000..c14fc8b906f6 --- /dev/null +++ b/dev-libs/cereal/cereal-1.3.0-r1.ebuild @@ -0,0 +1,37 @@ +# 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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-libs/boost )" + +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 mycmakeargs=( + -DJUST_INSTALL_CEREAL=$(usex !test) + -DWITH_WERROR=OFF + ) + cmake_src_configure +} diff --git a/dev-libs/cereal/metadata.xml b/dev-libs/cereal/metadata.xml index 907c95a13f45..b739f14cee13 100644 --- a/dev-libs/cereal/metadata.xml +++ b/dev-libs/cereal/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="project"> + <email>3dprint@gentoo.org</email> + <name>Gentoo 3D Printer Project</name> + </maintainer> <upstream> + <remote-id type="cpe">cpe:/a:usc:cereal</remote-id> <remote-id type="github">USCiLab/cereal</remote-id> </upstream> </pkgmetadata> |