# Maintainer: Natanael Copa pkgname=gst-ffmpeg pkgver=0.10.11 pkgrel=0 pkgdesc="Gstreamer FFMpeg Plugin" url="http://www.gstreamer.net" arch="x86 x86_64" license="GPL" makedepends="gstreamer-dev gst-plugins-base-dev liboil-dev coreutils" source="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$pkgver.tar.bz2" build() { cd "$srcdir"/gst-ffmpeg-$pkgver export CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" || return 1 make || return 1 } package() { cd "$srcdir"/gst-ffmpeg-$pkgver make DESTDIR="$pkgdir" install || return 1 find "$pkgdir"/usr/lib/ -name '*.la' -o -name '*.a' \ | xargs rm -f } md5sums="0d23197ba7ac06ea34fa66d38469ebe5 gst-ffmpeg-0.10.11.tar.bz2"