# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
PortGroup legacysupport 1.0
categories graphics science
maintainers {stromnov @stromnov} openmaintainer
description Intel(R) Open Source Computer Vision Library
long_description OpenCV is a library that is mainly aimed at real time \
computer vision. Some example areas would be \
Human-Computer Interaction (HCI), Object Identification, \
Segmentation and Recognition, Face Recognition, Gesture \
Recognition, Motion Tracking, Ego Motion, Motion \
Understanding, Structure From Motion (SFM), and Mobile \
homepage http://opencv.org
master_sites sourceforge:project/opencvlibrary/opencv-unix/${version}:opencv \
https://github.com/Itseez/opencv_contrib/archive:opencv_contrib
distfiles ${distname}.zip:opencv
checksums ${distname}${extract.suffix} \
rmd160 dcd8805519c2d763077a23dccf89a0b69f2886b0 \
sha256 37c7d8c3b9807902ad11b9181bbde61dcb3898a78a563130494752f46fe8cc5f \
rmd160 2b5df3c5bc34503466718c5d6b1c33505bcf90b6 \
sha256 0f5472fd05add4538c45c91af8320ff2d9b901bdfe000cd3a593e3a0a2890c48 \
depends_lib-append port:zlib \
path:lib/libavcodec.dylib:ffmpeg
# only search for openexr in ${prefix}
patchfiles-append patch-find-openexr.diff
# recognize dylib as a valid library suffix
patchfiles-append patch-dylib_suffix.diff