# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.5.2 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 find "$pkgdir" -name '*.la' -delete } md5sums="8735273f25226190827826cb0966a888 gst-plugins-bad-1.5.2.tar.xz" sha256sums="380ca225531136e249c4748abee855eb0c93090abdea4808703a58028c65113f gst-plugins-bad-1.5.2.tar.xz" sha512sums="57a1b75444a9d7f776e6314c6c488717f06a1f2b541fc44cecf612763ea55a5669264a259b25f497f99439a187e9a2bbb64e686bac81b4391cd7e191d8393fe5 gst-plugins-bad-1.5.2.tar.xz"