blob: 3916711b2f3041491fdf5cb0ad2152fc51c7ecb6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2013-2023 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)
from spack.package import *
from spack.pkg.builtin.boost import Boost
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")
# TODO: replace this with an explicit list of components of Boost,
# for instance depends_on('boost +filesystem')
# See https://github.com/spack/spack/pull/22303 for reference
depends_on(Boost.with_default_variants)
depends_on("opencv+calib3d+features2d+highgui+imgproc")
depends_on("dorian3d-dlib")
depends_on("eigen", type="link")
|