File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ class Opencv < Formula
22 desc "Open source computer vision library"
33 homepage "https://opencv.org/"
44 license "Apache-2.0"
5- revision 8
5+ revision 9
66
77 stable do
88 url "https://github.com/opencv/opencv/archive/refs/tags/4.12.0.tar.gz"
@@ -66,6 +66,7 @@ class Opencv < Formula
6666 depends_on "openblas"
6767 depends_on "openexr"
6868 depends_on "openjpeg"
69+ depends_on "openvino"
6970 depends_on "protobuf"
70717172 depends_on "tbb"
@@ -102,7 +103,6 @@ def install
102103 libdirs = %w[ ffmpeg libjasper libjpeg libjpeg-turbo libpng libtiff libwebp openexr openjpeg protobuf tbb zlib ]
103104 libdirs . each { |l | rm_r ( buildpath /"3rdparty" /l ) }
104105
105- # FIXME: `openvino` seems to break often and is difficult to update, so we disable it here for now.
106106 args = %W[
107107 -DCMAKE_CXX_STANDARD=17
108108 -DCMAKE_OSX_DEPLOYMENT_TARGET=
@@ -134,7 +134,7 @@ def install
134134 -DWITH_JASPER=OFF
135135 -DWITH_OPENEXR=ON
136136 -DWITH_OPENGL=OFF
137- -DWITH_OPENVINO=OFF
137+ -DWITH_OPENVINO=ON
138138 -DWITH_QT=OFF
139139 -DWITH_TBB=ON
140140 -DWITH_VTK=ON
Original file line number Diff line number Diff line change 22 "awscli" : " v2" ,
33 "botan@2" : " release-2" ,
44 "sdl2" : " SDL2" ,
5- "squid" : " v6"
5+ "squid" : " v6" ,
6+ "opencv" : " master"
67}
You can’t perform that action at this time.
0 commit comments