changeset 4873:5454d33ef781

* src/xine-lib.mk: update update rule
author John Donoghue
date Tue, 30 Oct 2018 15:24:43 -0400
parents 63ecde4c1c84
children c4e929fb081d
files src/xine-lib.mk
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xine-lib.mk	Tue Oct 30 13:44:21 2018 -0400
+++ b/src/xine-lib.mk	Tue Oct 30 15:24:43 2018 -0400
@@ -14,10 +14,10 @@
 $(PKG)_DEPS     := faad2 ffmpeg flac $($(PKG)_FONTCONFIG) freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis wavpack zlib libmpcdec libcdio vcdimager mman-win32 libmad a52dec libmodplug
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \
-    $(SED) -n 's,>,\n,gp' | \
-    $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \
-    head -1
+    $(WGET) -q -O- 'https://sourceforge.net/p/xine/xine-lib-1.2/ref/default/tags/' | \
+    $(SED) -n 's,.*xine-lib-1.2/ci/\([0-9][^/]*\)/.*,\1,p' | \
+    $(SORT) -V | \
+    tail -1
 endef
 
 define $(PKG)_BUILD