aboutsummaryrefslogtreecommitdiff
path: root/python/python3-opencv/no-ADE-download.diff
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-opencv/no-ADE-download.diff')
-rw-r--r--python/python3-opencv/no-ADE-download.diff37
1 files changed, 37 insertions, 0 deletions
diff --git a/python/python3-opencv/no-ADE-download.diff b/python/python3-opencv/no-ADE-download.diff
new file mode 100644
index 0000000000..8c72d9660f
--- /dev/null
+++ b/python/python3-opencv/no-ADE-download.diff
@@ -0,0 +1,37 @@
+--- opencv/modules/gapi/cmake/DownloadADE.cmake.orig 2022-03-04 16:48:17.000000000 +1000
++++ opencv/modules/gapi/cmake/DownloadADE.cmake 2024-08-19 23:51:02.079316762 +1000
+@@ -2,20 +2,20 @@
+ set(ade_filename "v0.1.1f.zip")
+ set(ade_subdir "ade-0.1.1f")
+ set(ade_md5 "b624b995ec9c439cbc2e9e6ee940d3a2")
+-ocv_download(FILENAME ${ade_filename}
+- HASH ${ade_md5}
+- URL
+- "${OPENCV_ADE_URL}"
+- "$ENV{OPENCV_ADE_URL}"
+- "https://github.com/opencv/ade/archive/"
+- DESTINATION_DIR ${ade_src_dir}
+- ID ADE
+- STATUS res
+- UNPACK RELATIVE_URL)
+-
+-if (NOT res)
+- return()
+-endif()
++#ocv_download(FILENAME ${ade_filename}
++# HASH ${ade_md5}
++# URL
++# "${OPENCV_ADE_URL}"
++# "$ENV{OPENCV_ADE_URL}"
++# "https://github.com/opencv/ade/archive/"
++# DESTINATION_DIR ${ade_src_dir}
++# ID ADE
++# STATUS res
++# UNPACK RELATIVE_URL)
++#
++#if (NOT res)
++# return()
++#endif()
+
+ set(ADE_root "${ade_src_dir}/${ade_subdir}/sources/ade")
+ file(GLOB_RECURSE ADE_sources "${ADE_root}/source/*.cpp")