libconfig: switch source to GitHub repository

The original tarball URL no longer provides version 1.7.3 or any other
historical releases.To ensure reproducible builds, the source has been
switched to the official GitHub repository.

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jiaying Song 2025-08-26 12:27:44 +08:00 committed by Khem Raj
parent f42d8e0e48
commit c5de36f588
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -7,9 +7,10 @@ SECTION = "libs"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29"
SRC_URI = "https://hyperrealm.github.io/libconfig/dist/libconfig-${PV}.tar.gz \
SRC_URI = "git://github.com/hyperrealm/libconfig.git;protocol=https;branch=master;tag=v${PV} \
file://0001-Fix-declarations-to-allow-build-with-gcc-15.patch \
"
SRCREV = "525922a6b49ca19235cdf307376e7c9c539d1b93"
# needed when we modify grammar.y with above patch
DEPENDS += "bison-native"
@ -19,7 +20,5 @@ UPSTREAM_CHECK_REGEX = "Version (?P<pver>\d+(\.\d+)+)"
inherit autotools-brokensep pkgconfig
SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7"
PACKAGE_BEFORE_PN = "${PN}++"
FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"