Date: Wed, 26 Jan 2022 20:18:05 GMT From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b2af71f2c36a - main - graphics/opencv: add GTK3 option (off by default) Message-ID: <202201262018.20QKI5mh080844@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=b2af71f2c36a543aaf1f26203599607080e690db commit b2af71f2c36a543aaf1f26203599607080e690db Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2022-01-26 20:17:28 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2022-01-26 20:17:28 +0000 graphics/opencv: add GTK3 option (off by default) This option enables gui support in opencv. Approved by: tcberner@ (maintainer) via irc --- graphics/opencv/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index da23130c99cb..2b1b6b5ea444 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -43,9 +43,10 @@ DATADIR= ${PREFIX}/share/${PORTNAME}4 PLIST_SUB= SHLIB_VER=${DISTVERSION} -OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB VTK +OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB -OPTIONS_GROUP= IMAGE VIDEO +OPTIONS_GROUP= GUI IMAGE VIDEO +OPTIONS_GROUP_GUI= GTK3 VTK OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OPENEXR PNG TIFF OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE @@ -62,7 +63,7 @@ OPTIONS_DEFAULT= EIGEN GDAL GDCM OPENCL PROTOBUF PYTHON \ OPENJPEG OPTIONS_SUB= yes -# Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB VTK) +# Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB) EIGEN_DESC= Add Eigen v3 Support, builds sfm modules EIGEN_CMAKE_BOOL= WITH_EIGEN EIGEN_USES= eigen:3 @@ -109,6 +110,12 @@ PYTHON_CMAKE_ON= -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} TBB_DESC= Add Intel Threading Building Blocks Support TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/tbb +### + +# GUI group options (GTK3 VTK) +GTK3_USES= gnome +GTK3_USE= gnome=gtk30 +GTK3_CMAKE_BOOL= WITH_GTK VTK_DESC= Include VTK library support (build opencv_viz module) VTK_CMAKE_BOOL= WITH_VTK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201262018.20QKI5mh080844>