changeset 7111:3b2d0f95b4d4

* src/openscenegraph.mk: update urls for github
author John Donoghue <john.donoghue@ieee.org>
date Fri, 15 Mar 2024 07:36:37 -0400
parents 4bdfb8b72555
children 89e0a28cc018
files src/openscenegraph.mk
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/openscenegraph.mk	Fri Mar 15 07:36:36 2024 -0400
+++ b/src/openscenegraph.mk	Fri Mar 15 07:36:37 2024 -0400
@@ -4,10 +4,10 @@
 PKG             := openscenegraph
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.2.0
-$(PKG)_CHECKSUM := c20891862b5876983d180fc4a3d3cfb2b4a3375c
+$(PKG)_CHECKSUM := 5435de08cd7f67691f6be7cfa0d36b80f04bcb34
 $(PKG)_SUBDIR   := OpenSceneGraph-$($(PKG)_VERSION)
 $(PKG)_FILE     := OpenSceneGraph-$($(PKG)_VERSION).zip
-$(PKG)_URL      := http://www.openscenegraph.org/downloads/developer_releases/$($(PKG)_FILE)
+$(PKG)_URL      := https://github.com/openscenegraph/OpenSceneGraph/archive/refs/tags/$($(PKG)_FILE)
 $(PKG)_DEPS     := boost curl dcmtk ffmpeg freetype gdal giflib gta jasper jpeg libpng openal openexr poppler qt tiff xine-lib zlib
 
 ifeq ($(BUILD_SHARED),yes)
@@ -17,9 +17,8 @@
 endif
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.openscenegraph.org/index.php/download-section/stable-releases' | \
-    $(SED) -n 's,.*OpenSceneGraph/tree/OpenSceneGraph-\([0-9]*\.[0-9]*[02468]\.[^<]*\)">.*,\1,p' | \
-    $(SORT) -V | \
+    $(WGET) -q -O- 'https://github.com/openscenegraph/OpenSceneGraph/tags' | \
+    $(SED) -n 's|.*releases/tag/OpenSceneGraph-\([^"]*\).*|\1|p' | $(SORT) -V | \
     tail -1
 endef