Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=python26.git;a=commitdiff;h=709c2239539ebf96c14d214ea2ddf464397a9422

commit 709c2239539ebf96c14d214ea2ddf464397a9422
Author: Miklos Vajna <[email protected]>
Date:   Sat Dec 27 21:56:37 2008 +0100

gstreamer-0.10.21-2-i686

- add patch to fix up build with bision>=2.41
- rebuilt with python-2.6

diff --git a/source/xmultimedia/gstreamer/FrugalBuild 
b/source/xmultimedia/gstreamer/FrugalBuild
index 0845eef..119c5f6 100644
--- a/source/xmultimedia/gstreamer/FrugalBuild
+++ b/source/xmultimedia/gstreamer/FrugalBuild
@@ -4,17 +4,17 @@

pkgname=gstreamer
pkgver=0.10.21
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source Multimedia Framework"
url="http://gstreamer.freedesktop.org/";
depends=('glib2>=2.16.3' 'libxml2' 'check')
-makedepends=('python>=2.5' 'gtk-doc' 'pyxml')
+makedepends=('python>=2.6' 'gtk-doc' 'pyxml' 'cvs')
groups=('xmultimedia')
archs=('i686' 'x86_64' 'ppc')
options=('scriptlet')
replaces=('gstreamer08')
up2date="lynx -dump $url/src/$pkgname/|grep '.tar.bz2$'|sort -n -r|head -n 
1|sed 's/.*-\(.*\).t.*/\1/'"
-source=($url/src/$pkgname/$pkgname-$pkgver.tar.bz2 gstreamer10.sh)
+source=($url/src/$pkgname/$pkgname-$pkgver.tar.bz2 gstreamer10.sh 
gstreamer-0.10.21-bison241.patch)

#subpkgs=("$pkgname-docs")
#subdescs=('GStreamer Documentation.')
@@ -24,7 +24,9 @@ source=($url/src/$pkgname/$pkgname-$pkgver.tar.bz2 
gstreamer10.sh)

build()
{
-      Fbuild \
+       Fpatchall
+       NOCONFIGURE=1 ./autogen.sh || return 1
+      Fmake \
--disable-tests \
--disable-debug \
--disable-gtk-doc \
@@ -35,10 +37,12 @@ build()
--with-gnu-ld \
--with-package-origin="http://frugalware.org/"; \
--disable-dependency-tracking
+       Fmakeinstall
Fexe /etc/profile.d/gstreamer10.sh
Fsplit $pkgname-docs usr/share/gtk-doc
}

sha1sums=('892daa9517dd7603e80b009dc059e20f4daea66f' \
-          'b1a04cc8052418384e2f3a5de925abaeac8110ae')
+          'b1a04cc8052418384e2f3a5de925abaeac8110ae' \
+          '8da50114a524a12695835379ee6564c769cd3a79')
# optimization OK
diff --git a/source/xmultimedia/gstreamer/gstreamer-0.10.21-bison241.patch 
b/source/xmultimedia/gstreamer/gstreamer-0.10.21-bison241.patch
new file mode 100644
index 0000000..1a941a6
--- /dev/null
+++ b/source/xmultimedia/gstreamer/gstreamer-0.10.21-bison241.patch
@@ -0,0 +1,14 @@
+--- common/m4/gst-parser.m4    2008/07/20 19:55:14     1.12
++++ common/m4/gst-parser.m4    2008/12/15 07:06:26     1.13
+@@ -15,10 +15,7 @@
+   bison_version=`$BISON_PATH --version | head -n 1 |  sed 's/^[[^0-9]]*//' | 
sed 's/[[^0-9]]*$//' | cut -d' ' -f1`
+   AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version])
+
+-  if perl -w <<EOF
+-    exit ($bison_version < $bison_min_version) ? 0 : 1;
+-EOF
+-  then
++  if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
+     AC_MSG_RESULT([yes])
+   else
+     AC_MSG_ERROR([no])
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to