* [meta-oe][PATCH] freeglut: changed SRC_URI to github + added UPSTREAM_CHECK
@ 2025-08-20 18:59 Jan Vermaete
0 siblings, 0 replies; only message in thread
From: Jan Vermaete @ 2025-08-20 18:59 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jan Vermaete
- added HOMEPAGE
- downloads are now from github
"Stable releases are available on our releases page on github, where you can find more information about each release. All releases are also mirrored on the old downloads page on sourceforge."
@see: https://freeglut.sourceforge.net/
- fixed 'devtool check-upgrade-status'
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
index 069f0f43f6..13f3d111fe 100644
--- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
+++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
@@ -1,9 +1,10 @@
DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \
Utility Toolkit (GLUT) library"
+HOMEPAGE = "https://freeglut.sourceforge.net"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb"
-SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz"
SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec"
inherit cmake features_check pkgconfig
@@ -26,6 +27,9 @@ PROVIDES += "mesa-glut"
DEPENDS = "virtual/libgl libxi"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
+
do_install:append() {
# Remove buildpaths
sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/FreeGLUT/FreeGLUTTargets.cmake
--
2.39.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-20 19:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 18:59 [meta-oe][PATCH] freeglut: changed SRC_URI to github + added UPSTREAM_CHECK Jan Vermaete
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).