diff options
author | markd <markd@pkgsrc.org> | 2015-11-03 20:08:06 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2015-11-03 20:08:06 +0000 |
commit | 07647a3574bb2026a6383f6cfe6e214e84d0d4bf (patch) | |
tree | 1f55e29e7724b75976731b78bc1e7d9b5dae322c /graphics | |
parent | 5e647a2a343366a257aeba5ce3115b35793dfc50 (diff) | |
download | pkgsrc-07647a3574bb2026a6383f6cfe6e214e84d0d4bf.tar.gz |
Add opencv-contrib-face 3.0.0
The contributed face recognition module for OpenCV.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencv-contrib-face/DESCR | 1 | ||||
-rw-r--r-- | graphics/opencv-contrib-face/Makefile | 89 | ||||
-rw-r--r-- | graphics/opencv-contrib-face/PLIST | 6 | ||||
-rw-r--r-- | graphics/opencv-contrib-face/buildlink3.mk | 14 | ||||
-rw-r--r-- | graphics/opencv-contrib-face/distinfo | 20 |
5 files changed, 130 insertions, 0 deletions
diff --git a/graphics/opencv-contrib-face/DESCR b/graphics/opencv-contrib-face/DESCR new file mode 100644 index 00000000000..73e991fb921 --- /dev/null +++ b/graphics/opencv-contrib-face/DESCR @@ -0,0 +1 @@ +OpenCV face recognition contributed module. diff --git a/graphics/opencv-contrib-face/Makefile b/graphics/opencv-contrib-face/Makefile new file mode 100644 index 00000000000..55234c07fb9 --- /dev/null +++ b/graphics/opencv-contrib-face/Makefile @@ -0,0 +1,89 @@ +# $NetBSD: Makefile,v 1.1 2015/11/03 20:08:06 markd Exp $ + +PKGNAME= opencv-contrib-face-3.0.0 +DISTNAME= opencv_contrib-3.0.0 +CATEGORIES= graphics devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=Itseez/} +EXTRACT_SUFX= .zip + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= http://code.opencv.org/projects/OpenCV/wiki/WikiStart +COMMENT= OpenCV face recognition contributed module +LICENSE= modified-bsd + +DISTFILES= ${DEFAULT_DISTFILES} opencv-3.0.0.zip + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_PKGLOCALEDIR= yes +USE_TOOLS+= gmake pkg-config + +INSTALL_DIRS= modules/face + +WRKSRC= ${WRKDIR}/opencv-3.0.0/ + +PATCHDIR= ${.CURDIR}/../../graphics/opencv/patches + +CMAKE_ARGS+= -D WITH_FFMPEG=OFF +CMAKE_ARGS+= -D BUILD_DOCS=OFF + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -std=c++11 +.endif + +OPSYSVARS+= CMAKE_ARGS +CMAKE_ARGS+= -DZLIB_ROOT=${BUILDLINK_PREFIX.zlib} +CMAKE_ARGS.SunOS+= -DENABLE_PRECOMPILED_HEADERS=NO + +CMAKE_ARGS+= -DOPENCV_EXTRA_MODULES_PATH=${WRKDIR}/opencv_contrib-3.0.0/modules +CMAKE_ARGS+= -DBUILD_opencv_adas=OFF +CMAKE_ARGS+= -DBUILD_opencv_bgsegm=OFF +CMAKE_ARGS+= -DBUILD_opencv_bioinspired=OFF +CMAKE_ARGS+= -DBUILD_opencv_ccalib=OFF +CMAKE_ARGS+= -DBUILD_opencv_contrib_world=OFF +CMAKE_ARGS+= -DBUILD_opencv_cvv=OFF +CMAKE_ARGS+= -DBUILD_opencv_datasets=OFF +CMAKE_ARGS+= -DBUILD_opencv_latentsvm=OFF +CMAKE_ARGS+= -DBUILD_opencv_line_descriptor=OFF +CMAKE_ARGS+= -DBUILD_opencv_matlab=OFF +CMAKE_ARGS+= -DBUILD_opencv_optflow=OFF +CMAKE_ARGS+= -DBUILD_opencv_reg=OFF +CMAKE_ARGS+= -DBUILD_opencv_rgbd=OFF +CMAKE_ARGS+= -DBUILD_opencv_saliency=OFF +CMAKE_ARGS+= -DBUILD_opencv_surface_matching=OFF +CMAKE_ARGS+= -DBUILD_opencv_text=OFF +CMAKE_ARGS+= -DBUILD_opencv_tracking=OFF +CMAKE_ARGS+= -DBUILD_opencv_xfeatures2d=OFF +CMAKE_ARGS+= -DBUILD_opencv_ximgproc=OFF +CMAKE_ARGS+= -DBUILD_opencv_xobjdetect=OFF +CMAKE_ARGS+= -DBUILD_opencv_xphoto=OFF + +CMAKE_ARGS+= -DBUILD_opencv_flann=OFF +CMAKE_ARGS+= -DBUILD_opencv_ml=OFF +CMAKE_ARGS+= -DBUILD_opencv_photo=OFF +CMAKE_ARGS+= -DBUILD_opencv_video=OFF +CMAKE_ARGS+= -DBUILD_opencv_imgcodecs=OFF +CMAKE_ARGS+= -DBUILD_opencv_videoio=OFF +CMAKE_ARGS+= -DBUILD_opencv_highgui=OFF +CMAKE_ARGS+= -DBUILD_opencv_objdetect=OFF +CMAKE_ARGS+= -DBUILD_opencv_superres=OFF +CMAKE_ARGS+= -DBUILD_opencv_ts=OFF +CMAKE_ARGS+= -DBUILD_opencv_features2d=OFF +CMAKE_ARGS+= -DBUILD_opencv_calib3d=OFF +CMAKE_ARGS+= -DBUILD_opencv_stitching=OFF +CMAKE_ARGS+= -DBUILD_opencv_videostab=OFF +CMAKE_ARGS+= -DBUILD_opencv_python2=OFF + +CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} + +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/jasper/buildlink3.mk" +.include "../../graphics/libwebp/buildlink3.mk" +.include "../../graphics/opencv/buildlink3.mk" +.include "../../graphics/openexr/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/opencv-contrib-face/PLIST b/graphics/opencv-contrib-face/PLIST new file mode 100644 index 00000000000..4cef3867f12 --- /dev/null +++ b/graphics/opencv-contrib-face/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2015/11/03 20:08:06 markd Exp $ +include/opencv2/face.hpp +include/opencv2/face/facerec.hpp +lib/libopencv_face.so +lib/libopencv_face.so.3.0 +lib/libopencv_face.so.${PKGVERSION} diff --git a/graphics/opencv-contrib-face/buildlink3.mk b/graphics/opencv-contrib-face/buildlink3.mk new file mode 100644 index 00000000000..9e6e3d430c9 --- /dev/null +++ b/graphics/opencv-contrib-face/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/11/03 20:08:06 markd Exp $ + +BUILDLINK_TREE+= opencv-contrib-face + +.if !defined(OPENCV_CONTRIB_FACE_BUILDLINK3_MK) +OPENCV_CONTRIB_FACE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.opencv-contrib-face+= opencv-contrib-face>=3.0.0 +BUILDLINK_PKGSRCDIR.opencv-contrib-face?= ../../graphics/opencv-contrib-face + +.include "../../graphics/opencv/buildlink3.mk" +.endif # OPENCV_CONTRIB_FACE_BUILDLINK3_MK + +BUILDLINK_TREE+= -opencv-contrib-face diff --git a/graphics/opencv-contrib-face/distinfo b/graphics/opencv-contrib-face/distinfo new file mode 100644 index 00000000000..e7e74a72d57 --- /dev/null +++ b/graphics/opencv-contrib-face/distinfo @@ -0,0 +1,20 @@ +$NetBSD: distinfo,v 1.1 2015/11/03 20:08:06 markd Exp $ + +SHA1 (opencv-3.0.0.zip) = 7b7cd6cb3b7bad537cacad04bb7aa264a897d545 +RMD160 (opencv-3.0.0.zip) = 7b4dff26502e71e6570c2452c35fd03a1982bc7e +SHA512 (opencv-3.0.0.zip) = 108d0fdcc60b5688ebf61c930fb965ec81f0d3c36bb1797f6cc571fac35331f540773207fd1cb81b12c05c8f4d1af20c4a2452d9f75cd0cae4acd8131be92375 +Size (opencv-3.0.0.zip) = 100980799 bytes +SHA1 (opencv_contrib-3.0.0.zip) = f4b78128dfded4ea58cedc3cfb09b3dbc3b1c798 +RMD160 (opencv_contrib-3.0.0.zip) = b257895ab529db2354f17c87b9f02d53625bb5e2 +SHA512 (opencv_contrib-3.0.0.zip) = ab2e8162382068013e7f56b8c34d5376fe6492f4a6967e577d0211444b5dceee38a7523ff2370d4271d4e1c9f9722ce8d2fe901a8ee5616d08e7c507fa65d882 +Size (opencv_contrib-3.0.0.zip) = 72797628 bytes +SHA1 (patch-3rdparty_ippicv_downloader.cmake) = 8d99b26a39aa184a4dfc03e4928ea7b7b62e71d9 +SHA1 (patch-cmake_OpenCVDetectCXXCompiler.cmake) = 221b0551d0f29d7e79afe3da8a33b1b3a4f7bf20 +SHA1 (patch-modules_core_include_opencv2_core_types_c.h) = 75444e65677be99af8167f9060419d7970a7adaa +SHA1 (patch-modules_core_src_downhill__simplex.cpp) = 1ad7c2fa126d15050b87785e8eec20dbe796b471 +SHA1 (patch-modules_core_src_parallel__pthreads.cpp) = dba43f8252eda7807379469cf9359581bf4d41ad +SHA1 (patch-modules_core_src_system.cpp) = 3b7ac545585a430d28c7077f360357079f127580 +SHA1 (patch-modules_flann_include_opencv2_flann_defines.h) = ab848e67c4e03219670598ac2d21071a617a5c33 +SHA1 (patch-modules_objdetect_include_opencv_objdetect_detection__based__tracker.hpp) = 2f4d2f43afe370eef748e05bec199bc963e1ecab +SHA1 (patch-modules_python_common.cmake) = d6289a316712bb8be4d590965c87f6bb3525a938 +SHA1 (patch-modules_ts_src_ts.cpp) = b9a3992014b02dbd89d46375a2476385e91dc24c |