# This file created by conda-build 3.21.8
# ------------------------------------------------

package:
  name: opencv
  version: 4.5.4
source:
  - fn: opencv-4.5.4.zip
    sha256: 5deac7f7341faf4b23c38d65f8f89dbf5b4b30d345390a60853640967a2bf61b
    url: https://github.com/opencv/opencv/archive/4.5.4.zip
  - fn: opencv_contrib-4.5.4.tar.gz
    folder: opencv_contrib-4.5.4
    sha256: ad74b440b4539619dc9b587995a16b691246023d45e34097c73e259f72de9f81
    url: https://github.com/opencv/opencv_contrib/archive/4.5.4.tar.gz
build:
  ignore_run_exports: null
  number: 2
  string: py38h22b9916_2
requirements:
  build:
    - bzip2 1.0.8 he774522_0
    - ca-certificates 2022.3.29 haa95532_0
    - glib 2.69.1 h5dc1a3c_1
    - libffi 3.4.2 h604cdb4_1
    - libiconv 1.15 h1df5818_7
    - ninja 1.10.2 py310h6d14046_3
    - openssl 1.1.1n h2bbff1b_0
    - pcre 8.45 hd77b12b_0
    - pkg-config 0.29.2 h8cc25b3_0
    - python 3.10.4 hbb2ffb3_0
    - sqlite 3.38.2 h2bbff1b_0
    - tk 8.6.11 h2bbff1b_0
    - tzdata 2022a hda174b7_0
    - vc 14.2 h21ff451_1
    - vs2015_runtime 14.27.29016 h5e58377_2
    - vs2017_win-64 19.16.27032.1 hb4161e2_3
    - vswhere 2.8.4 haa95532_0
    - xz 5.2.5 h62dcd97_0
    - zlib 1.2.11 hbd8134f_5
  host:
    - blas 1.0 mkl
    - bzip2 1.0.8 he774522_0
    - ca-certificates 2022.3.29 haa95532_0
    - cmake 3.19.6 h9ad04ae_0
    - eigen 3.3.7 h59b6b97_1
    - glib 2.69.1 h5dc1a3c_1
    - gst-plugins-base 1.18.5 h9e645db_0
    - gstreamer 1.18.5 hd78058f_0
    - hdf5 1.10.6 h7ebc959_0
    - icc_rt 2019.0.0 h0cc432a_1
    - icu 58.2 ha925a31_3
    - intel-openmp 2021.4.0 haa95532_3556
    - jpeg 9d h2bbff1b_0
    - libffi 3.4.2 h604cdb4_1
    - libiconv 1.15 h1df5818_7
    - libogg 1.3.5 h2bbff1b_1
    - libpng 1.6.37 h2a8f88b_0
    - libprotobuf 3.5.1 he0781b1_0
    - libtiff 4.1.0 h56a325e_1
    - libuv 1.40.0 he774522_0
    - libvorbis 1.3.7 he774522_0
    - libwebp-base 1.2.2 h2bbff1b_0
    - lz4-c 1.9.3 h2bbff1b_1
    - mkl 2021.4.0 haa95532_640
    - mkl-service 2.4.0 py38h2bbff1b_0
    - mkl_fft 1.3.1 py38h277e83a_0
    - mkl_random 1.2.2 py38hf11a4ad_0
    - numpy 1.16.6 py38ha4e8547_3
    - numpy-base 1.16.6 py38h5bb6eb2_3
    - openssl 1.1.1n h2bbff1b_0
    - pcre 8.45 hd77b12b_0
    - python 3.8.13 h6244533_0
    - qt 5.9.7 vc14h73c81de_0
    - six 1.16.0 pyhd3eb1b0_1
    - sqlite 3.38.2 h2bbff1b_0
    - vc 14.2 h21ff451_1
    - vs2015_runtime 14.27.29016 h5e58377_2
    - xz 5.2.5 h62dcd97_0
    - zlib 1.2.11 hbd8134f_5
    - zstd 1.4.9 h19a0ad4_0
  run:
    - eigen
    - glib >=2.69.1,<3.0a0
    - gst-plugins-base ==1.18.5
    - gst-plugins-base >=1.18.5,<1.19.0a0
    - gstreamer ==1.18.5
    - gstreamer >=1.18.5,<1.19.0a0
    - hdf5 >=1.10.6,<1.10.7.0a0
    - libpng >=1.6.37,<1.7.0a0
    - libprotobuf ==3.5.1
    - libprotobuf >=3.5.1,<3.6.0a0
    - libtiff >=4.1.0,<5.0a0
    - libwebp-base
    - numpy 1.16.*
    - python >=3.8,<3.9.0a0
    - qt ==5.9.7
    - qt >=5.9.7,<5.10.0a0
    - vc >=14.1,<15.0a0
    - vs2015_runtime >=14.16.27012,<15.0a0
    - zlib >=1.2.11,<1.3.0a0
test:
  commands:
    - pushd test-cmake
    - cmake . -GNinja -DCMAKE_BUILD_TYPE=Release
    - cmake --build . --verbose
    - popd
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_aruco454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_bgsegm454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_calib3d454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_ccalib454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_core454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_datasets454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_features2d454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_flann454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_fuzzy454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_highgui454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_imgcodecs454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_imgproc454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_line_descriptor454.dll exit
      1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_ml454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_optflow454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_phase_unwrapping454.dll exit
      1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_photo454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_plot454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_reg454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_rgbd454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_saliency454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_shape454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_stereo454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_stitching454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_structured_light454.dll exit
      1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_superres454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_surface_matching454.dll exit
      1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_tracking454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_video454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_videoio454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_videostab454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_xfeatures2d454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_ximgproc454.dll exit 1
    - if not exist %CONDA_PREFIX%\\Library\\bin\\opencv_xphoto454.dll exit 1
  files:
    - test-cmake/CMakeLists.txt
    - test-cmake/DisplayImage.cpp
    - test.cpp
  requires:
    - cmake
    - ninja
    - numpy
    - python >=3.8,<3.9.0a0
    - vs2017_win-64
about:
  description: 'OpenCV (Open Source Computer Vision Library) includes several hundreds
    of computer vision algorithms.

    It has a modular structure,which means that the package includes several shared
    or static libraries.

    '
  dev_url: https://github.com/opencv/opencv/
  doc_source_url: https://github.com/opencv/opencv/tree/master/doc
  doc_url: https://docs.opencv.org/
  home: https://opencv.org/
  license: Apache-2.0
  license_family: Apache
  summary: Computer vision and machine learning software library.
extra:
  copy_test_source_files: true
  final: true
