4a32e5b93a
version:3.4.8 OpenCV 3.4.8 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.1.2. version:3.4.7 OpenCV 3.4.7 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.1.1.
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# $NetBSD: Makefile.common,v 1.3 2019/12/16 08:24:39 adam Exp $
|
|
# used by graphics/opencv/Makefile
|
|
# used by graphics/opencv-contrib-face/Makefile
|
|
|
|
OPENCV_VERSION= 3.4.8
|
|
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=opencv/}
|
|
|
|
HOMEPAGE= https://opencv.org/
|
|
LICENSE= modified-bsd
|
|
|
|
PATCHDIR= ${.CURDIR}/../../graphics/opencv/patches
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++11
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
CONFIGURE_DIRS+= build
|
|
CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
|
|
|
|
CMAKE_ARG_PATH= ${WRKSRC}
|
|
CMAKE_ARGS+= -DBUILD_PROTOBUF=OFF
|
|
CMAKE_ARGS+= -DCV_ENABLE_INTRINSICS=OFF # XXX: problematic
|
|
CMAKE_ARGS+= -DENABLE_CCACHE=OFF
|
|
CMAKE_ARGS+= -DOPENCV_GENERATE_SETUPVARS=OFF
|
|
CMAKE_ARGS+= -DPROTOBUF_UPDATE_FILES=ON
|
|
CMAKE_ARGS+= -DWITH_EIGEN=OFF
|
|
CMAKE_ARGS+= -DZLIB_ROOT=${BUILDLINK_PREFIX.zlib}
|
|
CMAKE_ARGS.SunOS+= -DENABLE_PRECOMPILED_HEADERS=OFF
|
|
CMAKE_ARGS.SunOS+= -DOPENCV_PYTHON_SKIP_LINKER_EXCLUDE_LIBS=ON
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 # avoid Python 2.7
|
|
|
|
pre-configure:
|
|
${MKDIR} ${WRKSRC}/build
|
|
|
|
.include "../../lang/python/pyversion.mk"
|