# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.2.1 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="8ee6863cbb917bb4bd235698b87192a4 gst-plugins-bad-1.2.1.tar.xz" sha256sums="f33e7c81fcb742fe50b73ad87ef8a4baa7d6b59c5002a10bf63c8dee22404929 gst-plugins-bad-1.2.1.tar.xz" sha512sums="9e55734706f15733e1c504f6b7c72e5a610db025807e23ab30522fa42f24f25df4565be1b933afff18cd8f27bfb6022ca05caa3b8650844c149c1e4f72050e6d gst-plugins-bad-1.2.1.tar.xz"