diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-24 14:48:15 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-24 14:48:15 +0100 |
commit | f6823ceffa4968a9d87088687439f17d68fd7c64 (patch) | |
tree | 69e523f4990c823e034ab4c907c75add41f96ec3 /sci-libs | |
parent | sci-libs/udunits: Bump to 2.2.28 (diff) | |
download | gentoo-f6823ceffa4968a9d87088687439f17d68fd7c64.tar.gz gentoo-f6823ceffa4968a9d87088687439f17d68fd7c64.tar.bz2 gentoo-f6823ceffa4968a9d87088687439f17d68fd7c64.zip |
sci-libs/nanoflann: Bump to 1.3.2
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/nanoflann/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/nanoflann/nanoflann-1.3.2.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest index 231a10156246..cfe4b96dabc0 100644 --- a/sci-libs/nanoflann/Manifest +++ b/sci-libs/nanoflann/Manifest @@ -1 +1,2 @@ DIST nanoflann-1.2.3.tar.gz 1157793 BLAKE2B e6b3947c5c99689da5d3759e0217deca691bada8089cdd1e3cd41902b0db2533908fab1ff5474851064d3f2ab6a5a70429320bbf432a0381df4aec0139a6b2f4 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878 +DIST nanoflann-1.3.2.tar.gz 685060 BLAKE2B 2dd1ed9ae3f766099d86b00e1c84a11d9162930dba91053746177ff39b7c84f770120734a235b25196620f637b94986106d364db300f51c873171e7805849b7c SHA512 937d3787df389efe530060cd2723130251e2ca7937b10f8d770c7b0d21ffd972e6da21b2b9e655c5740d57b4af8f76f0cc6d9ae39527c440be8863be0deaa7ed diff --git a/sci-libs/nanoflann/nanoflann-1.3.2.ebuild b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild new file mode 100644 index 000000000000..0e91a4124d0e --- /dev/null +++ b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees" +HOMEPAGE="https://github.com/jlblancoc/nanoflann" + +if [[ ${PV} = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git" +else + SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-cpp/eigen:3" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(usex examples) + -DBUILD_TESTS=$(usex test) + ) + cmake_src_configure +} |