# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.2.2 pkgrel=0 pkgdesc="GStreamer bad plugins" url="http://gstreamer.freedesktop.org/" arch="all" license="LGPL GPL" depends="" subpackages="$pkgname-lang" 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 \ --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 find "$pkgdir" -name '*.la' -delete } md5sums="d519b7e8e570c4a22d6b79f2ab89765c gst-plugins-bad-1.2.2.tar.xz" sha256sums="63e78db11b482d0529a0bde01e2ac23fd32c7cb99a5508b53ee4ca1051871b2c gst-plugins-bad-1.2.2.tar.xz" sha512sums="413ccb935d15be54b0f598de843fa0fbec9e06d4e966991f3204f9297e1c7c956bb23b410b1e26524f153c4386e9b6ae3a4e3ba153f8e7a20b89525a12265a3a gst-plugins-bad-1.2.2.tar.xz"