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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-11-08 21:18:47 +01:00 committed by Khem Raj
parent 6f2ec3922f
commit 25d14588ca
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"