# Maintainer: Natanael Copa pkgname=gst-plugins-good1 pkgver=1.5.2 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 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 eudev-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 find "$pkgdir" -name '*.la' -delete } md5sums="7d4afd01a460aec53404bdda6b535c5b gst-plugins-good-1.5.2.tar.xz" sha256sums="f0789d0e4e4e60046327fcf8908c429b6c6c0576a88823497ddc1ea8bfddc993 gst-plugins-good-1.5.2.tar.xz" sha512sums="ead64282a499677ce9701c49f7fc3f00903a53046420fd8f93da7af77788c46d1646dfa2d05813137733e3a37cfa09804030e2abb180ada6a7785ac1220131f9 gst-plugins-good-1.5.2.tar.xz"