changeset 4866:5ab457504494

openal: update for using github * src/openal.mk: update update rule, file and checksum
author John Donoghue
date Tue, 30 Oct 2018 13:44:10 -0400
parents 38bc9910cd35
children 5ff8a7e5d891
files src/openal.mk
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/openal.mk	Tue Oct 30 12:19:02 2018 -0400
+++ b/src/openal.mk	Tue Oct 30 13:44:10 2018 -0400
@@ -4,16 +4,15 @@
 PKG             := openal
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.15.1
-$(PKG)_CHECKSUM := a0e73a46740c52ccbde38a3912c5b0fd72679ec8
+$(PKG)_CHECKSUM := 018a9cd414db6b2ba5924261a59f34e8ce7b603a
 $(PKG)_SUBDIR   := openal-soft-$($(PKG)_VERSION)
-$(PKG)_FILE     := openal-soft-$($(PKG)_VERSION).tar.bz2
-$(PKG)_URL      := http://kcat.strangesoft.net/openal-releases/$($(PKG)_FILE)
+$(PKG)_FILE     := openal-soft-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL      := https://github.com/kcat/openal-soft/archive/$($(PKG)_FILE)
 $(PKG)_DEPS     := portaudio
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://kcat.strangesoft.net/openal-releases/?C=M;O=D' | \
-    $(SED) -n 's,.*"openal-soft-\([0-9][^"]*\)\.tar.*,\1,p' | \
-    $(SORT) -V | \
+    $(WGET) -q -O- 'https://github.com/kcat/openal-soft/tags' | \
+    $(SED) -n 's|.*releases/tag/openal-soft-\([^"]*\).*|\1|p' | $(SORT) -V | \
     tail -1
 endef