# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.8.0 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="1c2d797bb96a81e9ef570c7a0a37203e gst-plugins-bad-1.8.0.tar.xz" sha256sums="116376dd1085082422e0b21b0ecd3d1cb345c469c58e32463167d4675f4ca90e gst-plugins-bad-1.8.0.tar.xz" sha512sums="3975ba6669d6b93fb82ac851f12bc1378d5748c47632f08528d08c788fa514993187813ae91ba3fb31233fbc1cd450f9e77528b461e5f51eea49c70bce81d0fa gst-plugins-bad-1.8.0.tar.xz"