gstreamer and plugins: downgrade to stable series and adjust update macro

This commit is contained in:
Tony Theodore 2014-05-11 21:03:02 +10:00
parent 2e55129874
commit 6ecce732a5
4 changed files with 15 additions and 23 deletions

View File

@ -10,14 +10,14 @@ Needed with gcc 4.9. This will break non-x86 compilation -- I know.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
---
gst/audioresample/Makefile.am | 3 ++-
gst/audioresample/Makefile.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gst/audioresample/Makefile.am b/gst/audioresample/Makefile.am
diff --git a/gst/audioresample/Makefile.in b/gst/audioresample/Makefile.in
index 607115d..ae0056d 100644
--- a/gst/audioresample/Makefile.am
+++ b/gst/audioresample/Makefile.am
@@ -17,7 +17,8 @@ libgstaudioresample_la_CFLAGS = \
--- a/gst/audioresample/Makefile.in
+++ b/gst/audioresample/Makefile.in
@@ -538,7 +538,8 @@ libgstaudioresample_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \

View File

@ -3,18 +3,14 @@
PKG := gst-plugins-base
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.2.2
$(PKG)_CHECKSUM := cce95c868bdfccb8bcd37ccaa543af5c464240e1
$(PKG)_VERSION := 1.2.4
$(PKG)_CHECKSUM := 036ce9eb723470cd8cc522057a59ad9468b3d489
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc glib libxml2 gstreamer liboil pango ogg vorbis theora
define $(PKG)_UPDATE
$(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
$(PKG)_UPDATE = $(subst gstreamer/refs,gst-plugins-base/refs,$(gstreamer_UPDATE))
define $(PKG)_BUILD
find '$(1)' -name Makefile.in \

View File

@ -3,18 +3,14 @@
PKG := gst-plugins-good
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.2.2
$(PKG)_CHECKSUM := d8c52f7883e98ffb35cd4b86cbd27420573ca864
$(PKG)_VERSION := 1.2.4
$(PKG)_CHECKSUM := 4af2e2e091e306d69f36b5bbf722a557acb8d66e
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc glib libxml2 gstreamer gst-plugins-base liboil libshout cairo flac gtk2 jpeg libpng speex taglib wavpack
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/gstreamer/gst-plugins-good/refs/tags' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
head -1
endef
$(PKG)_UPDATE = $(subst gstreamer/refs,gst-plugins-good/refs,$(gstreamer_UPDATE))
define $(PKG)_BUILD
find '$(1)' -name Makefile.in \

View File

@ -3,8 +3,8 @@
PKG := gstreamer
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.2.2
$(PKG)_CHECKSUM := f57418b6de15fe2ed2e0b42209b3e1e0f7add70f
$(PKG)_VERSION := 1.2.4
$(PKG)_CHECKSUM := c131cdc385c504636a0a00d4d7bdcea7cf99994f
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE)
@ -12,14 +12,14 @@ $(PKG)_DEPS := gcc glib libxml2 pthreads
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/gstreamer/gstreamer/refs/tags' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9]\.[02468]\.[0-9][^']*\\)'.*,\\1,p" | \
$(SORT) -Vr | \
head -1
endef
define $(PKG)_BUILD
$(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' '$(1)'/gst/Makefile.in
$(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' '$(1)'/gst/Makefile.in
cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \