changeset 5445:f3dbd01dfd2a

* src/libshout.mk: update download and update urls
author John Donoghue <john.donoghue@ieee.org>
date Thu, 04 Jun 2020 08:06:15 -0400
parents 6e43b8c90143
children bb99b8019405
files src/libshout.mk
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/libshout.mk	Wed Jun 03 17:26:48 2020 -0400
+++ b/src/libshout.mk	Thu Jun 04 08:06:15 2020 -0400
@@ -7,12 +7,13 @@
 $(PKG)_CHECKSUM := 147c5670939727420d0e2ad6a20468e2c2db1e20
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://downloads.us.xiph.org/releases/$(PKG)/$($(PKG)_FILE)
+$(PKG)_URL      := https://downloads.us.xiph.org/releases/$(PKG)/$($(PKG)_FILE)
 $(PKG)_DEPS     := vorbis ogg theora speex
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.icecast.org/download.php' | \
+    $(WGET) -q -O- 'https://downloads.us.xiph.org/releases/libshout/' | \
     $(SED) -n 's,.*libshout-\([0-9][^>]*\)\.tar.*,\1,p' | \
+    $(SORT) -Vr | \
     head -1
 endef