summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-12-17 09:54:34 -0600
committerGitHub <noreply@github.com>2020-12-17 16:54:34 +0100
commitb86743c879f27c6f765ad3baff3d832809f683a4 (patch)
treee91c88f01b427795af7eeb888cbeff6c35323aa5
parente61fb96e9656ea6b6ed74527475d173602ef7c48 (diff)
downloadspack-b86743c879f27c6f765ad3baff3d832809f683a4.tar.gz
spack-b86743c879f27c6f765ad3baff3d832809f683a4.tar.bz2
spack-b86743c879f27c6f765ad3baff3d832809f683a4.tar.xz
spack-b86743c879f27c6f765ad3baff3d832809f683a4.zip
DBoW2: add new package (#20387)
-rw-r--r--var/spack/repos/builtin/packages/dbow2/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dbow2/package.py b/var/spack/repos/builtin/packages/dbow2/package.py
new file mode 100644
index 0000000000..10d4dd7c87
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dbow2/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Dbow2(CMakePackage):
+ """DBoW2 is an improved version of the DBow library, an open source C++
+ library for indexing and converting images into a bag-of-word
+ representation."""
+
+ homepage = "https://github.com/dorian3d/DBoW2"
+ git = "https://github.com/dorian3d/DBoW2.git"
+
+ version('master', branch='master')
+ version('shinsumicco', git='https://github.com/shinsumicco/DBoW2.git', branch='master')
+
+ depends_on('cmake@3.0:', type='build')
+ depends_on('opencv+calib3d+core+features2d+highgui+imgproc')
+ depends_on('boost')
+ depends_on('dlib')