dlib: add new package (#20386)

This commit is contained in:
Adam J. Stewart 2020-12-16 16:28:39 -06:00 committed by GitHub
parent 2bb9116219
commit 4d09dc4c61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 Dlib(CMakePackage):
"""DLib is a collection of C++ classes to solve common tasks in C++
programs, as well as to offer additional functionality to use OpenCV
data and to solve computer vision problems."""
homepage = "https://github.com/dorian3d/DLib"
git = "https://github.com/dorian3d/DLib.git"
version('master', branch='master')
depends_on('cmake@3.0:', type='build')
depends_on('opencv+calib3d+core+features2d+highgui+imgproc')
# Because concretizer is broken...
# TODO: remove when original concretizer is obsolete
depends_on('opencv+flann')