From: Rosen Penev Date: Sat, 13 Apr 2019 00:20:01 +0000 (-0700) Subject: opencv: Fix tarball URL to fix compilation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F8670%2Fhead;p=feed%2Fpackages.git opencv: Fix tarball URL to fix compilation The github repository URL changed. Signed-off-by: Rosen Penev --- diff --git a/libs/opencv/Makefile b/libs/opencv/Makefile index 0a6f9ade8f..b110787a28 100644 --- a/libs/opencv/Makefile +++ b/libs/opencv/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=opencv PKG_VERSION:=3.1.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip PKG_SOURCE_URL:=http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/$(PKG_VERSION)/ diff --git a/libs/opencv/patches/010-fix-url.patch b/libs/opencv/patches/010-fix-url.patch new file mode 100644 index 0000000000..cad061b803 --- /dev/null +++ b/libs/opencv/patches/010-fix-url.patch @@ -0,0 +1,11 @@ +--- a/3rdparty/ippicv/downloader.cmake ++++ b/3rdparty/ippicv/downloader.cmake +@@ -64,7 +64,7 @@ function(_icv_downloader) + if(DEFINED ENV{OPENCV_ICV_URL}) + set(OPENCV_ICV_URL $ENV{OPENCV_ICV_URL}) + else() +- set(OPENCV_ICV_URL "https://raw.githubusercontent.com/Itseez/opencv_3rdparty/${IPPICV_BINARIES_COMMIT}/ippicv") ++ set(OPENCV_ICV_URL "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${IPPICV_BINARIES_COMMIT}/ippicv") + endif() + endif() +