# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.6.3 pkgrel=0 pkgdesc="GStreamer bad plugins" url="http://gstreamer.freedesktop.org/" arch="all" license="LGPL GPL" depends="" subpackages="$pkgname-lang $pkgname-dev $pkgname-doc" makedepends=" alsa-lib-dev bzip2-dev curl-dev faac-dev faad2-dev flite-dev glib-dev gsm-dev gst-plugins-base1-dev gstreamer1-dev jasper-dev libdc1394-dev libexif-dev libmms-dev libmodplug-dev liboil-dev librsvg-dev libvdpau-dev libx11-dev neon-dev orc-dev sdl-dev spandsp-dev xvidcore-dev " source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.xz" ldpath="/usr/lib/gstreamer-1.0" _builddir="$srcdir"/gst-plugins-bad-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-experimental \ --disable-fatal-warnings \ --with-package-name="GStreamer Bad Plugins (Alpine Linux)" \ --with-package-origin="http://alpinelinux.org/" \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="4857adcafe41e4b9b8805cf88303bd55 gst-plugins-bad-1.6.3.tar.xz" sha256sums="971b29101d6a9c5e3fe94d99d977a227f58f0b2d29b6ca2c7f292052542b3a61 gst-plugins-bad-1.6.3.tar.xz" sha512sums="0a3a1d3617f167e69c20db3fccf7af0c4983b8012136093dcc3d08c059d0d8687cf921309c91f94afb250e0c3b9f9ff397a98ff548ca83dc12ae762119ffc915 gst-plugins-bad-1.6.3.tar.xz"