# Maintainer: Natanael Copa pkgname=gst-plugins-bad1 pkgver=1.12.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 libressl-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 \ --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 } sha512sums="c26fbd4cc741daf69b5b12cd2f5c6ce82a06e2f458d8687631785adff1597534899dc37314d6670a349d9aa1653c00b38a08def91a18d1cbfc1f51e9e089a0fb gst-plugins-bad-1.12.0.tar.xz"