diff src/gst-plugins-base.mk @ 800:3eba8075e121

implemented version recognition and corrected website URLs for packages gst-plugins-base, gst-plugins-good, gstreamer, liboil and libshout
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 23 Feb 2010 14:08:36 +0100
parents 0292c7229519
children 8e46c3cddd35
line wrap: on
line diff
--- a/src/gst-plugins-base.mk	Tue Feb 23 13:48:36 2010 +0100
+++ b/src/gst-plugins-base.mk	Tue Feb 23 14:08:36 2010 +0100
@@ -8,12 +8,14 @@
 $(PKG)_CHECKSUM := 33f6be03b4baf199dbb13f12d8a4f4749f79843f
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.bz2
-$(PKG)_WEBSITE  := http://gstreamer.freedesktop.org
+$(PKG)_WEBSITE  := http://gstreamer.freedesktop.org/
 $(PKG)_URL      := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE)
 $(PKG)_DEPS     := gcc glib libxml2 gstreamer liboil pango
 
 define $(PKG)_UPDATE
-    echo "Update not implemented"
+    wget -q -O- 'http://cgit.freedesktop.org/gstreamer/gst-plugins-base/refs/tags' | \
+    $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
+    head -1
 endef
 
 define $(PKG)_BUILD