From 2bdf0a249b125a5afccfb1e35e682214cde62652 Mon Sep 17 00:00:00 2001 From: jbu Date: Sat, 11 Jul 2015 05:13:42 +0200 Subject: [PATCH] gst-ffmpeg: fix cross compiling for arm* --- srcpkgs/gst-ffmpeg/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gst-ffmpeg/template b/srcpkgs/gst-ffmpeg/template index af34599a5f6..17b4c2a21f8 100644 --- a/srcpkgs/gst-ffmpeg/template +++ b/srcpkgs/gst-ffmpeg/template @@ -1,7 +1,7 @@ # Template file for 'gst-ffmpeg' pkgname=gst-ffmpeg version=0.10.13 -revision=4 +revision=5 lib32disabled=yes build_style=gnu-configure configure_args="--with-ffmpeg-extra-configure=--enable-runtime-cpudetect" @@ -13,3 +13,9 @@ license="GPL-2" homepage="http://gstreamer.freedesktop.org" distfiles="$homepage/src/$pkgname/$pkgname-$version.tar.bz2" checksum=76fca05b08e00134e3cb92fa347507f42cbd48ddb08ed3343a912def187fbb62 + +pre_configure() { + # Fix cross compiling for arm* where os=linuxeabihf + sed -i ${wrksrc}/gst-libs/ext/libav/configure \ + -e "s;linux);linux*);" +}