# Maintainer: Natanael Copa pkgname=gst-plugins-good1 pkgver=1.4.1 pkgrel=0 pkgdesc="GStreamer Multimedia Framework Good Plugins" url="http://gstreamer.freedesktop.org/" arch="all" license="LGPL" subpackages="$pkgname-lang" depends= depends_dev="gstreamer1-dev gst-plugins-base1-dev" makedepends="$depends_dev flac-dev gdk-pixbuf-dev glib-dev jack-dev libavc1394-dev libdv-dev libice-dev libiec61883-dev libjpeg-turbo-dev libogg-dev liboil-dev libpng-dev libshout-dev libsm-dev libsoup-dev libvpx-dev libxdamage-dev libxext-dev libxv-dev orc-dev taglib-dev udev-dev v4l-utils-dev wavpack-dev zlib-dev " replaces= ldpath="/usr/lib/gstreamer-1.0" source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz " _builddir="$srcdir"/gst-plugins-good-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-experimental \ --with-package-name="GStreamer Good Plugins (Alpine Linux)" \ --with-package-origin="http://alpinelinux.org/" \ || return 1 make } package() { cd "$_builddir" export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="eb3a3296b2f6009def1f5a09590ce767 gst-plugins-good-1.4.1.tar.xz" sha256sums="8559d4270065b30ed5c49b826e1b7a3a2bd5ee9a340ae745a2ae3f9718e4c637 gst-plugins-good-1.4.1.tar.xz" sha512sums="9aa844948dde677489273b3eb4e1933363f9830925aef80d765859f7eece47ab60b92055fe7b25c5f85bcdaa5cf35333e69b3f1c1057624c91d523fdacd0753b gst-plugins-good-1.4.1.tar.xz"