diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-30 19:14:46 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-30 19:14:46 +0000 |
commit | c4d19c50db071db624a5edb3a0b80e6a0fbf79b0 (patch) | |
tree | 91cc010816f62dbd3a5ef8f3233304b4aeb42602 /sci-libs/flann | |
parent | Lower down the minimum Qt4 version. Bug #364321 (diff) | |
download | gentoo-2-c4d19c50db071db624a5edb3a0b80e6a0fbf79b0.tar.gz gentoo-2-c4d19c50db071db624a5edb3a0b80e6a0fbf79b0.tar.bz2 gentoo-2-c4d19c50db071db624a5edb3a0b80e6a0fbf79b0.zip |
New library, dependency for media-libs/opencv-2.2
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/flann')
-rw-r--r-- | sci-libs/flann/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/flann/flann-1.6.8.ebuild | 43 | ||||
-rw-r--r-- | sci-libs/flann/metadata.xml | 4 |
3 files changed, 57 insertions, 0 deletions
diff --git a/sci-libs/flann/ChangeLog b/sci-libs/flann/ChangeLog new file mode 100644 index 000000000000..d0cb4891215d --- /dev/null +++ b/sci-libs/flann/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-libs/flann +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/flann/ChangeLog,v 1.1 2011/04/30 19:14:46 dilfridge Exp $ + +*flann-1.6.8 (30 Apr 2011) + + 30 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +flann-1.6.8.ebuild, +metadata.xml: + New library, dependency for media-libs/opencv-2.2 + diff --git a/sci-libs/flann/flann-1.6.8.ebuild b/sci-libs/flann/flann-1.6.8.ebuild new file mode 100644 index 000000000000..67993b6f504b --- /dev/null +++ b/sci-libs/flann/flann-1.6.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/flann/flann-1.6.8.ebuild,v 1.1 2011/04/30 19:14:46 dilfridge Exp $ + +EAPI=3 + +PYTHON_DEPEND="python? 2:2.5" + +inherit python cmake-utils + +DESCRIPTION="Library for performing fast approximate nearest neighbor searches in high dimensional spaces" +HOMEPAGE="http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN" +SRC_URI="http://people.cs.ubc.ca/~mariusm/uploads/FLANN/${P}-src.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python test" + +RDEPEND="sci-libs/hdf5[mpi,threads] + python? ( dev-python/numpy )" +DEPEND="${DEPEND} + test? ( dev-util/gtest )" + +S=${WORKDIR}/${P}-src + +src_prepare() { + sed -i -e "s:share/doc/flann:share/doc/${PF}:" doc/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + "-DBUILD_C_BINDINGS=ON" + "-DBUILD_MATLAB_BINDINGS=OFF" + $(cmake-utils_use_build python PYTHON_BINDINGS) + ) + cmake-utils_src_configure +} + +src_test() { + cd "${CMAKE_BUILD_DIR}" + make test || die +} diff --git a/sci-libs/flann/metadata.xml b/sci-libs/flann/metadata.xml new file mode 100644 index 000000000000..4e22a5c46f07 --- /dev/null +++ b/sci-libs/flann/metadata.xml @@ -0,0 +1,4 @@ +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> |