diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-16 12:27:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-16 12:27:58 +0100 |
commit | b6fa31c964a602f8461a77d5b83355e8750c12eb (patch) | |
tree | 323fa7af31640b3ea8bb57fa7a927713f3d64769 /dev-libs/immer | |
parent | 868fd5dc8aab84930cfaa5252b8be06b35552765 (diff) |
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'dev-libs/immer')
-rw-r--r-- | dev-libs/immer/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/immer/immer-0.8.1-r1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/immer/Manifest b/dev-libs/immer/Manifest index beb6688bed60..c390680aa602 100644 --- a/dev-libs/immer/Manifest +++ b/dev-libs/immer/Manifest @@ -1,4 +1,5 @@ AUX immer-0.8.1-fix-dvector-test.patch 616 BLAKE2B 9bd70b13da9f5e2c17fa20a4d2c61e2c1c74d559230b5d6ebcb82005d84fc4865ba7acdde859c5dac79d0a8252fbd3a5cfc03c02bb27eb2354955e9aca0d225f SHA512 9b76e01703a5b7633f2af38c7e9755cf759fc831222ef590b7a2cb41270b4dc2cc71eaafa9d48a4ca8ba84a7aa32bb3b1ac5a4ab6e18c9a26764716e5ee7b9d2 DIST immer-0.8.1.tar.gz 654638 BLAKE2B 23c8fc8d8e341ae271ea2881f3cba8bd446844dc48a79d959623ec9c7e1254feba22ae916d9e8d962d8afd8801671ac3dfc8a136e4ce40d2a1a019449c34554f SHA512 3a9aafeb5daad1881d00fb999b78f86b1c8f0e8ef2d6befe9025d8eea10392557ce7186f14878b36cbce0f2f5d38c8ffb39c9115a9496803acfc0ef2289f5cbf +EBUILD immer-0.8.1-r1.ebuild 980 BLAKE2B 00849dedc8c6e51e17d36ed93b47af666e192d6769d303906ed44bd3c48026429939e11657ff505847311e3b891ace908a17c5503e4657016d885780246fe69b SHA512 6510dc97a0ff34bdc27b139618a2100d9563988ba55f128ac0d94cffaa125f283827bb230647ff482e5f1189079e62f2bae130d47726398a98df31d1b1982369 EBUILD immer-0.8.1.ebuild 959 BLAKE2B c1191b6bc3bea59aea76516bc782bfa6749806a406f77fc30184c0170f29942cdcac07ae5bf89426578333a76a425ec7df6406f7148d7af9fbe7a2b01ee3d57d SHA512 5e8e7b34367214bd6df4ef85176bb174b038e5836893df355d200339ac8d6f2fff445cb83038e8bbc631f1d87537134b7584259291bb2043180735d531414c65 MISC metadata.xml 483 BLAKE2B 7ded9309ad46060a624a1eed80845a752070fbdc606cee368b1fad5b73bdb1f1628657b9efa298f4c90c8d4f1ce809abe9558596f613e6e91edb4e817c6e81bb SHA512 3e086a36cf68feaf501df66a59e9d3f3c7b2576293bd0ef0c1eb80de5bb2737e1a13ecb36af60541504f3c4b572909e919fed2c7f0d18505d6a85e5fc1b25589 diff --git a/dev-libs/immer/immer-0.8.1-r1.ebuild b/dev-libs/immer/immer-0.8.1-r1.ebuild new file mode 100644 index 000000000000..65da2ecbf6f6 --- /dev/null +++ b/dev-libs/immer/immer-0.8.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library of persistent and immutable data structures written in C++" +HOMEPAGE="https://sinusoid.es/immer/" +SRC_URI="https://github.com/arximboldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boost:= + dev-libs/boehm-gc +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + dev-libs/libfmt + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-fix-dvector-test.patch +) + +src_configure() { + local mycmakeargs=( + -DCCACHE=no + -Dimmer_BUILD_DOCS=OFF # Recheck if documentation is in a better state when bumping + -Dimmer_BUILD_EXAMPLES=OFF + -Dimmer_BUILD_EXTRAS=OFF + -Dimmer_BUILD_TESTS=$(usex test) + -DDISABLE_WERROR=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use test; then + cmake_build tests + fi +} |