From 25d14588ca87809316846c993124237fe0e7555e Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Sat, 8 Nov 2025 21:18:47 +0100 Subject: [PATCH] minizip: fix SRC_URI 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 Signed-off-by: Khem Raj --- 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"