mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/immer: new package, add 0.8.1
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
1af8cfcac5
commit
19616e25a3
1
dev-libs/immer/Manifest
Normal file
1
dev-libs/immer/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST immer-0.8.1.tar.gz 654638 BLAKE2B 23c8fc8d8e341ae271ea2881f3cba8bd446844dc48a79d959623ec9c7e1254feba22ae916d9e8d962d8afd8801671ac3dfc8a136e4ce40d2a1a019449c34554f SHA512 3a9aafeb5daad1881d00fb999b78f86b1c8f0e8ef2d6befe9025d8eea10392557ce7186f14878b36cbce0f2f5d38c8ffb39c9115a9496803acfc0ef2289f5cbf
|
||||
16
dev-libs/immer/files/immer-0.8.1-fix-dvector-test.patch
Normal file
16
dev-libs/immer/files/immer-0.8.1-fix-dvector-test.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Without this array include, compilation of the dvektor test will fail.
|
||||
This has been fixed upstream in:
|
||||
https://github.com/arximboldi/immer/commit/f381e4988c1562f0f64533146c9b9cb7c0823b3e
|
||||
|
||||
diff --git a/immer/experimental/detail/dvektor_impl.hpp b/immer/experimental/detail/dvektor_impl.hpp
|
||||
index 4f69733..7a21f1f 100644
|
||||
--- a/immer/experimental/detail/dvektor_impl.hpp
|
||||
+++ b/immer/experimental/detail/dvektor_impl.hpp
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <boost/iterator/iterator_facade.hpp>
|
||||
#include <boost/smart_ptr/intrusive_ref_counter.hpp>
|
||||
|
||||
+#include <array>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <limits>
|
||||
45
dev-libs/immer/immer-0.8.1.ebuild
Normal file
45
dev-libs/immer/immer-0.8.1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A 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"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-libs/boehm-gc
|
||||
test? ( <dev-cpp/catch-3:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-dvector-test.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-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
|
||||
}
|
||||
15
dev-libs/immer/metadata.xml
Normal file
15
dev-libs/immer/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>darkdefende@gmail.com</email>
|
||||
<name>Sebastian Parborg</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">arximboldi/immer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user