# $Id: PKGBUILD 173502 2012-12-19 18:25:44Z heftig $ # Maintainer: Jan de Groot # Maintainer (Parabola): Márcio Silva pkgbase=gst-plugins-bad pkgname=gst-plugins-bad-libre pkgver=1.0.4 pkgrel=1 pkgdesc='GStreamer Multimedia Framework Bad Plugins, without nonfree faac support' arch=( i686 x86_64 mips64el ) license=( LGPL ) url="http://gstreamer.freedesktop.org/" depends=( celt chromaprint curl faad2 gst-plugins-base-libs libdca libdvdnav libgme libmms libmodplug mjpegtools mpg123 opus soundtouch spandsp ) makedepends=( libdvdread libexif libmpeg2 libvdpau schroedinger ) provides=( $pkgbase=$pkgver ) conflicts=( $pkgbase ) replaces=( $pkgbase ) options=( '!libtool' '!emptydirs' ) source=( "$url/src/$pkgbase/$pkgbase-$pkgver.tar.xz" ) sha256sums=( 198759adb10ceb1777245f5706a198708e4539cd1e19b8a900f5d573fc76089f ) build() { cd $pkgbase-$pkgver sed -i '/AC_PATH_XTRA/d' configure.ac autoreconf ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --enable-experimental \ --with-package-name='GStreamer Bad Plugins Libre (Parabola)' \ --with-package-origin='http://www.parabolagnulinux.org/' \ --with-gtk=3.0 make } check() { cd $pkgbase-$pkgver make check } package() { cd $pkgbase-$pkgver make DESTDIR=$pkgdir install }