diff mbox series

[meta-oe,07/72] geos: Fetch from GitHub releases

Message ID 20261130084643.1500716-8-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, tip updates, removals and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:45 a.m. UTC
download.osgeo.org is slow and intermittently returns errors, which
breaks both fetching and the upstream check. Fetch the release tarball
from GitHub releases instead; it is the same file, so the checksum does
not change. Inherit github-releases and check its release tags, skipping
the beta and rc releases.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-navigation/geos/geos_3.15.1.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-navigation/geos/geos_3.15.1.bb b/meta-oe/recipes-navigation/geos/geos_3.15.1.bb
index 8d31c60faf..7bb40a9cef 100644
--- a/meta-oe/recipes-navigation/geos/geos_3.15.1.bb
+++ b/meta-oe/recipes-navigation/geos/geos_3.15.1.bb
@@ -5,13 +5,13 @@  SECTION = "libs"
 LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2"
+GITHUB_BASE_URI = "https://github.com/libgeos/geos/releases"
+SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.bz2"
 SRC_URI[sha256sum] = "8eb6dc2ea78b00c2f5109c6b0dba9e028c60bad42d7b1b0cc9952b12dc71f571"
 
-UPSTREAM_CHECK_URI = "https://download.osgeo.org/geos/"
-UPSTREAM_CHECK_REGEX = "geos-(?P<pver>\d+(\.\d+)+)\.tar\.bz2"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
-inherit cmake pkgconfig binconfig
+inherit cmake pkgconfig binconfig github-releases
 
 PACKAGES =+ "geoslib ${PN}-c1"