Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Oct 10, 2022
1 parent 9c9dfca commit 48ea589
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions recipes/opencv/2.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ def configure(self):
def requirements(self):
self.requires("zlib/1.2.12")
if self.options.with_jpeg:
self.requires("libjpeg/9d")
self.requires("libjpeg/9e")
if self.options.with_png:
self.requires("libpng/1.6.37")
self.requires("libpng/1.6.38")
if self.options.with_jasper:
self.requires("jasper/2.0.33")
if self.options.with_openexr:
self.requires("openexr/2.5.7")
if self.options.with_tiff:
self.requires("libtiff/4.3.0")
self.requires("libtiff/4.4.0")
if self.options.with_eigen:
self.requires("eigen/3.4.0")
if self.options.with_tbb:
Expand Down
16 changes: 8 additions & 8 deletions recipes/opencv/3.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,28 +84,28 @@ def configure(self):
def requirements(self):
self.requires("zlib/1.2.12")
if self.options.with_jpeg == "libjpeg":
self.requires("libjpeg/9d")
self.requires("libjpeg/9e")
elif self.options.with_jpeg == "libjpeg-turbo":
self.requires("libjpeg-turbo/2.1.2")
self.requires("libjpeg-turbo/2.1.4")
if self.options.with_png:
self.requires("libpng/1.6.37")
self.requires("libpng/1.6.38")
if self.options.with_jasper:
self.requires("jasper/2.0.33")
if self.options.with_openexr:
self.requires("openexr/2.5.7")
if self.options.with_tiff:
self.requires("libtiff/4.3.0")
self.requires("libtiff/4.4.0")
if self.options.with_eigen:
self.requires("eigen/3.3.9")
if self.options.parallel == "tbb":
self.requires("onetbb/2020.3")
if self.options.with_webp:
self.requires("libwebp/1.2.2")
self.requires("libwebp/1.2.4")
if self.options.contrib:
self.requires("freetype/2.11.1")
self.requires("harfbuzz/3.2.0")
self.requires("freetype/2.12.1")
self.requires("harfbuzz/5.3.0")
self.requires("gflags/2.2.2")
self.requires("glog/0.5.0")
self.requires("glog/0.6.0")
if self.options.get_safe("with_gtk"):
self.requires("gtk/system")

Expand Down
24 changes: 12 additions & 12 deletions recipes/opencv/4.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _has_with_ffmpeg_option(self):

@property
def _protobuf_version(self):
return "protobuf/3.17.1"
return "protobuf/3.21.4"

def export_sources(self):
self.copy("CMakeLists.txt")
Expand Down Expand Up @@ -178,43 +178,43 @@ def configure(self):
def requirements(self):
self.requires("zlib/1.2.12")
if self.options.with_jpeg == "libjpeg":
self.requires("libjpeg/9d")
self.requires("libjpeg/9e")
elif self.options.with_jpeg == "libjpeg-turbo":
self.requires("libjpeg-turbo/2.1.2")
self.requires("libjpeg-turbo/2.1.4")
if self.options.get_safe("with_jpeg2000") == "jasper":
self.requires("jasper/2.0.33")
elif self.options.get_safe("with_jpeg2000") == "openjpeg":
self.requires("openjpeg/2.4.0")
self.requires("openjpeg/2.5.0")
if self.options.with_png:
self.requires("libpng/1.6.37")
self.requires("libpng/1.6.38")
if self.options.with_openexr:
self.requires("openexr/2.5.7")
if self.options.get_safe("with_tiff"):
self.requires("libtiff/4.3.0")
self.requires("libtiff/4.4.0")
if self.options.with_eigen:
self.requires("eigen/3.3.9")
if self.options.get_safe("with_ffmpeg"):
self.requires("ffmpeg/4.4")
self.requires("ffmpeg/5.0")
if self.options.parallel == "tbb":
self.requires("onetbb/2020.3")
if self.options.with_ipp == "intel-ipp":
self.requires("intel-ipp/2020")
if self.options.with_webp:
self.requires("libwebp/1.2.2")
self.requires("libwebp/1.2.4")
if self.options.get_safe("contrib_freetype"):
self.requires("freetype/2.11.1")
self.requires("harfbuzz/3.2.0")
self.requires("freetype/2.12.1")
self.requires("harfbuzz/5.3.0")
if self.options.get_safe("contrib_sfm"):
self.requires("gflags/2.2.2")
self.requires("glog/0.5.0")
self.requires("glog/0.6.0")
if self.options.with_quirc:
self.requires("quirc/1.1")
if self.options.get_safe("with_gtk"):
self.requires("gtk/system")
if self.options.dnn:
self.requires(self._protobuf_version)
if self.options.with_ade:
self.requires("ade/0.1.1f")
self.requires("ade/0.1.2a")

def validate(self):
if self.options.shared and self._is_msvc and "MT" in msvc_runtime_flag(self):
Expand Down

0 comments on commit 48ea589

Please sign in to comment.