# Maintainer: Natanael Copa pkgname=gst-plugins-good1 pkgver=1.8.1 pkgrel=1 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 libgudev-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 linux-headers orc-dev taglib-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 \ --disable-fatal-warnings \ --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 } md5sums="3eabe7277681b9bef8a64c312de03d47 gst-plugins-good-1.8.1.tar.xz" sha256sums="2103e17921d67894e82eafdd64fb9b06518599952fd93e625bfbc83ffead0972 gst-plugins-good-1.8.1.tar.xz" sha512sums="f3576180e55e38c6320ad44f2ed5a551088e566636b2b4d5f226d96b2a447a8c2addb2862759d7363eee7d05e01831bf093cdb6ac6c1689736a6673a76d5e75c gst-plugins-good-1.8.1.tar.xz"