summaryrefslogtreecommitdiff
path: root/graphics/opencv
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opencv')
-rw-r--r--graphics/opencv/Makefile12
-rw-r--r--graphics/opencv/distinfo8
2 files changed, 14 insertions, 6 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index a3c6ed6b53cb..855ea787d443 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -1,8 +1,11 @@
PORTNAME= opencv
DISTVERSION= 4.11.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
+PATCH_SITES= https://github.com/opencv/opencv/commit/
+PATCHFILES= 97f3f390661f2fd1168336820b89eb4383ce8528.patch:-p1
+
MAINTAINER= desktop@FreeBSD.org
COMMENT= Open Source Computer Vision library
WWW= https://www.opencv.org/
@@ -36,7 +39,7 @@ OPTIONS_DEFAULT= DC1394 EIGEN GDAL GDCM GPHOTO2 GSTREAMER JPEG OPENBLAS \
OPTIONS_GROUP= GUI IMAGE VIDEO
OPTIONS_GROUP_GUI= GTK3 VTK
-OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OGRE3D OPENEXR PNG TIFF
+OPTIONS_GROUP_IMAGE= AVIF GPHOTO2 JPEG OGRE3D OPENEXR PNG TIFF
OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER OBSENSOR V4L VULKAN WEBP XINE
OPTIONS_RADIO= JPEG2K
@@ -114,7 +117,10 @@ VTK_USES= qt:5
VTK_USE= QT=buildtools:build,qmake:build
###
-# IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF)
+# IMAGE group options (AVIF GPHOTO2 JPEG OPENEXR PNG TIFF)
+AVIF_LIB_DEPENDS= libavif.so:graphics/libavif
+AVIF_CMAKE_BOOL= WITH_AVIF
+
GPHOTO2_DESC= Add Gphoto2 Support
GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2
GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
diff --git a/graphics/opencv/distinfo b/graphics/opencv/distinfo
index 06f3f1e26fc4..56458465f4e9 100644
--- a/graphics/opencv/distinfo
+++ b/graphics/opencv/distinfo
@@ -1,9 +1,11 @@
-TIMESTAMP = 1745669344
+TIMESTAMP = 1753904251
SHA256 (opencv-opencv-4.11.0_GH0.tar.gz) = 9a7c11f924eff5f8d8070e297b322ee68b9227e003fd600d4b8122198091665f
SIZE (opencv-opencv-4.11.0_GH0.tar.gz) = 95051012
-SHA256 (opencv-opencv_contrib-4.11.0_GH0.tar.gz) = 2dfc5957201de2aa785064711125af6abb2e80a64e2dc246aca4119b19687041
-SIZE (opencv-opencv_contrib-4.11.0_GH0.tar.gz) = 55450097
SHA256 (opencv-ade-v0.1.2e_GH0.tar.gz) = 107711887d413127955d64a0e42974ec379c1ebb81832c79a21a9e3a2110e4bf
SIZE (opencv-ade-v0.1.2e_GH0.tar.gz) = 117054
SHA256 (opencv-opencv_3rdparty-7f55c0c26be418d494615afca15218566775c725_GH0.tar.gz) = 0b19085992da68a6b6b751ce7c37fd22b27e43ff28455a68280484e436c438e8
SIZE (opencv-opencv_3rdparty-7f55c0c26be418d494615afca15218566775c725_GH0.tar.gz) = 102507737
+SHA256 (opencv-opencv_contrib-4.11.0_GH0.tar.gz) = 2dfc5957201de2aa785064711125af6abb2e80a64e2dc246aca4119b19687041
+SIZE (opencv-opencv_contrib-4.11.0_GH0.tar.gz) = 55450097
+SHA256 (97f3f390661f2fd1168336820b89eb4383ce8528.patch) = 9275b59080fb0380241b2aa6410cfd9dabd412a0746fc8bf94b25a3fb1594af5
+SIZE (97f3f390661f2fd1168336820b89eb4383ce8528.patch) = 3285