# $Id: PKGBUILD 191871 2013-07-31 17:39:18Z heftig $ # Maintainer: Jan de Groot pkgname=gst-libav pkgver=1.0.9 pkgrel=1 pkgdesc="Gstreamer libav Plugin" arch=('i686' 'x86_64') license=('GPL') url="http://gstreamer.freedesktop.org/" depends=('gst-plugins-base-libs' 'bzip2') makedepends=('yasm') options=(!libtool !emptydirs) provides=("gst-ffmpeg=$pkgver-$pkgrel") source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz) sha256sums=('759641c0597c24191322f40945b363b75df299a539ff4086650be6193028189a') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --with-libav-extra-configure="--enable-runtime-cpudetect" \ --with-package-name="GStreamer libav Plugin (Archlinux)" \ --with-package-origin="http://www.archlinux.org/" make } check() { cd $pkgname-$pkgver make check } package() { cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install }