From 7ece645426f894660fb3d8268847aceb1cf0e183 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 3 Sep 2010 14:32:21 +0000 Subject: main/gstreamer: build fix for gnu make-3.82 --- main/gstreamer/APKBUILD | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'main/gstreamer') diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD index a7c684ea6..1434e085c 100644 --- a/main/gstreamer/APKBUILD +++ b/main/gstreamer/APKBUILD @@ -8,9 +8,25 @@ license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="pkgconfig libxml2-dev glib-dev bison flex gettext-dev libiconv-dev" -source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.bz2" +source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.bz2 + " depends_dev="glib-dev libxml2-dev" +_builddir="$srcdir"/gstreamer-$pkgver +prepare() { + cd "$_builddir" + # fix building with gnu make 3.82 + find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1 + + for i in $source; do + case "$i" in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done +} build() { cd "$srcdir"/gstreamer-$pkgver -- cgit v1.2.3