[arch-commits] Commit in lib32-gstreamer0.10/repos/multilib-x86_64 (3 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Wed Jul 2 09:31:41 UTC 2014
Date: Wednesday, July 2, 2014 @ 11:31:40
Author: alucryd
Revision: 114618
archrelease: copy trunk to multilib-x86_64
Added:
lib32-gstreamer0.10/repos/multilib-x86_64/PKGBUILD
(from rev 114617, lib32-gstreamer0.10/trunk/PKGBUILD)
lib32-gstreamer0.10/repos/multilib-x86_64/bison3.patch
(from rev 114617, lib32-gstreamer0.10/trunk/bison3.patch)
Deleted:
lib32-gstreamer0.10/repos/multilib-x86_64/PKGBUILD
--------------+
PKGBUILD | 87 +++++++++++++++++++++++++++++++--------------------------
bison3.patch | 31 ++++++++++++++++++++
2 files changed, 79 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-02 09:31:35 UTC (rev 114617)
+++ PKGBUILD 2014-07-02 09:31:40 UTC (rev 114618)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: josephgbr <rafael.f.f1 at gmail.com>
-
-pkgname=lib32-gstreamer0.10
-pkgver=0.10.36
-pkgrel=2
-pkgdesc="GStreamer Multimedia Framework"
-arch=('x86_64')
-license=('LGPL')
-url="http://gstreamer.freedesktop.org/"
-depends=("${pkgname#*-}" 'lib32-glib2' 'lib32-libxml2')
-makedepends=('gcc-multilib' 'intltool')
-options=('!libtool')
-source=("http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${pkgver}.tar.xz")
-sha256sums=('9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da')
-
-build() {
- cd "${srcdir}"/gstreamer-${pkgver}
-
-# Multilib
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-# Build
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 --libexecdir=/usr/lib32 --with-package-{name="GStreamer (Archlinux Multilib)",origin="http://www.archlinux.org/"} --disable-{examples,static,tests}
- make
-}
-
-package() {
- cd "${srcdir}"/gstreamer-${pkgver}
-
-# Install
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{bin,include,share}
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-gstreamer0.10/repos/multilib-x86_64/PKGBUILD (from rev 114617, lib32-gstreamer0.10/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-02 09:31:40 UTC (rev 114618)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+
+pkgname=lib32-gstreamer0.10
+pkgver=0.10.36
+pkgrel=3
+pkgdesc='GStreamer Multimedia Framework'
+arch=('x86_64')
+license=('LGPL')
+url='http://gstreamer.freedesktop.org/'
+depends=("${pkgname#*-}" 'lib32-glib2' 'lib32-libxml2')
+makedepends=('gcc-multilib' 'git' 'gobject-introspection' 'intltool')
+source=("git://anongit.freedesktop.org/gstreamer-sdk/gstreamer#commit=3ddc31eaa18c3be1613e43430eca78a3e445639e"
+'bison3.patch')
+sha256sums=('SKIP'
+ 'ed154e280abf59b24d98a8ab0fe868b449b26aa61f7ae3813fab8ac615fcaefa')
+
+prepare() {
+ cd gstreamer
+
+ patch -Np1 -i ../bison3.patch
+ sed 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac
+}
+
+build() {
+ cd gstreamer
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ NOCONFIGURE=1 ./autogen.sh
+ ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' \
+ --libdir='/usr/lib32' --libexecdir='/usr/lib32' \
+ --with-package-{name="GStreamer (Archlinux Multilib)",origin="http://www.archlinux.org/"} \
+ --disable-{examples,gtk-doc,static,tests}
+ make
+}
+
+package() {
+ cd gstreamer
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:
Copied: lib32-gstreamer0.10/repos/multilib-x86_64/bison3.patch (from rev 114617, lib32-gstreamer0.10/trunk/bison3.patch)
===================================================================
--- bison3.patch (rev 0)
+++ bison3.patch 2014-07-02 09:31:40 UTC (rev 114618)
@@ -0,0 +1,31 @@
+From bd2a01cfe222367493a71f3269f12250c8972db0 Mon Sep 17 00:00:00 2001
+From: Kerrick Staley <kerrick at kerrickstaley.com>
+Date: Wed, 21 Aug 2013 06:59:29 +0000
+Subject: parse: make grammar.y work with Bison 3
+
+YYLEX_PARAM is no longer supported in Bison 3.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=706462
+---
+diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
+index 8a9019c..f533389 100644
+--- a/gst/parse/grammar.y
++++ b/gst/parse/grammar.y
+@@ -26,7 +26,6 @@
+ */
+
+ #define YYERROR_VERBOSE 1
+-#define YYLEX_PARAM scanner
+
+ #define YYENABLE_NLS 0
+
+@@ -659,6 +658,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s);
+ %right '.'
+ %left '!' '='
+
++%lex-param { void *scanner }
+ %parse-param { void *scanner }
+ %parse-param { graph_t *graph }
+ %pure-parser
+--
+cgit v0.9.0.2-2-gbebe
More information about the arch-commits
mailing list