From b86743c879f27c6f765ad3baff3d832809f683a4 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 17 Dec 2020 09:54:34 -0600 Subject: DBoW2: add new package (#20387) --- var/spack/repos/builtin/packages/dbow2/package.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/dbow2/package.py (limited to 'var') 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') -- cgit v1.2.3-60-g2f50