The sourceforge url stopped working, the used version seems to be deleted
(which is the latest version). Instead switch to github releases.

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 meta-oe/recipes-core/minizip/minizip_1.3.1.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb 
b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb
index 56cd28c9ae..51a74d039b 100644
--- a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb
+++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb
@@ -6,12 +6,13 @@ SECTION = "libs"
 LICENSE = "Zlib"
 LIC_FILES_CHKSUM = 
"file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
-UPSTREAM_CHECK_URI = "http://zlib.net/";
+GITHUB_BASE_URI ?= "https://github.com/madler/zlib/releases/";
+
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/zlib-${PV}.tar.xz"
 
 S = "${UNPACKDIR}/zlib-${PV}/contrib/minizip"
 
-SRC_URI[sha256sum] = 
"9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
+SRC_URI[sha256sum] = 
"38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32"
 
 PACKAGECONFIG ??= "demos"
 PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
@@ -20,6 +21,6 @@ RCONFLICTS:${PN} += "minizip-ng"
 
 DEPENDS = "zlib"
 
-inherit autotools
+inherit autotools github-releases
 
 BBCLASSEXTEND = "native nativesdk"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121406): 
https://lists.openembedded.org/g/openembedded-devel/message/121406
Mute This Topic: https://lists.openembedded.org/mt/116193771/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to