# Description: GStreamer Multimedia Framework ffmpeg Plugins
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html
# Packager: pierre at nutyx dot org
# Depends on: gstreamer gstreamer-plugins-base yasm sdl 

name=gstreamer-plugins-ffmpeg
version=0.10.13
release=1

source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$version.tar.bz2
	http://downloads.nutyx.org/files/patchs/$name/h264_qpel_mmx.patch)
build() {
unset CFLAGS
unset CXXFLAGS

cd gst-ffmpeg-$version
patch -Np1 -i ../h264_qpel_mmx.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-ffmpeg-extra-configure="--enable-runtime-cpudetect"
make || make -j1
make DESTDIR=$PKG install
}

  
