opencv_contrib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch 1.1 KB

123456789101112131415161718192021
  1. From: Paul Zander <negril.nx+gentoo@gmail.com>
  2. Use tar.gz instead of zip to make CI happy.
  3. diff --git a/modules/cudaoptflow/CMakeLists.txt b/modules/cudaoptflow/CMakeLists.txt
  4. index b295abc..1e916e5 100644
  5. --- a/modules/cudaoptflow/CMakeLists.txt
  6. +++ b/modules/cudaoptflow/CMakeLists.txt
  7. @@ -10,9 +10,9 @@ ocv_define_module(cudaoptflow opencv_video opencv_optflow opencv_cudaarithm open
  8. if(NOT CUDA_VERSION VERSION_LESS "10.0")
  9. set(NVIDIA_OPTICAL_FLOW_2_0_HEADERS_COMMIT "edb50da3cf849840d680249aa6dbef248ebce2ca")
  10. - set(NVIDIA_OPTICAL_FLOW_2_0_HEADERS_MD5 "a73cd48b18dcc0cc8933b30796074191")
  11. + set(NVIDIA_OPTICAL_FLOW_2_0_HEADERS_MD5 "5626b1d1c335fbcbf893fcb27e1230be")
  12. set(NVIDIA_OPTICAL_FLOW_2_0_HEADERS_PATH "${OpenCV_BINARY_DIR}/3rdparty/NVIDIAOpticalFlowSDK_2_0_Headers")
  13. - ocv_download(FILENAME "${NVIDIA_OPTICAL_FLOW_2_0_HEADERS_COMMIT}.zip"
  14. + ocv_download(FILENAME "${NVIDIA_OPTICAL_FLOW_2_0_HEADERS_COMMIT}.tar.gz"
  15. HASH ${NVIDIA_OPTICAL_FLOW_2_0_HEADERS_MD5}
  16. URL "https://github.com/NVIDIA/NVIDIAOpticalFlowSDK/archive/"
  17. DESTINATION_DIR "${NVIDIA_OPTICAL_FLOW_2_0_HEADERS_PATH}"