# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.0.8 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 build() { cd "$_builddir" ./configure --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="a2fdf125ee2ae46047dcbcfc305949ee gst-plugins-bad-1.0.8.tar.xz" sha256sums="6949b5532034fc37d5a874e4e3330107767238bc4def9f769b8193124e2420cc gst-plugins-bad-1.0.8.tar.xz" sha512sums="6236a4e86fb6a79041535a6d5658150fc3260e165c12b62b406f66267c80a6d77dcefb2eec254b56dbb06aa8fd72941d8e3cb073afaa6d45149d1872b830383f gst-plugins-bad-1.0.8.tar.xz"