# $Id: Portfile,v 1.3 2006/06/13 09:22:40 rhwood Exp $
PortSystem 1.0
name		gst-plugins-base
version		0.10.7
description	This is gst-plugins, a set of plug-ins for GStreamer.
long_description        ${description}
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/
master_sites    gnome:sources/gst-plugins-base/0.10/ http://gstreamer.freedesktop.org/src/${name}/
checksums	md5 d66b09de993aefd22d8fc341e5f50521 \
		sha1 0437eeed1fa275d15fda06bf617d26d2c0b406c0 \
		rmd160 15683b34138065a40fd6b533c7008247411ed256
depends_lib	lib:libgstreamer:gstreamer lib:liboil:liboil
# could depend on tons for multimedia stuff +variants
use_bzip2 	yes
configure.args	mandir=${prefix}/share/man --enable-static
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" LDFLAGS="-L${prefix}/lib" \
                CFLAGS="-no-cpp-precomp -funroll-loops -fstrict-aliasing" 
post-extract {
	reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \
		${worksrcpath}/configure
}
