# $Id: PKGBUILD 171701 2012-11-21 14:49:21Z heftig $ # Maintainer: Jan de Groot pkgname=gst-libav pkgver=1.0.3 pkgrel=1 pkgdesc="Gstreamer libav Plugin" arch=('i686' 'x86_64' 'mips64el') 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=('5193f158e2554a9450325dbb0c60e8f4b6b8a9244ae10ea07d0f7418a0e07959') 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 }