# Template file for 'gst-plugins-good'.
pkgname=gst-plugins-good
version=0.10.31
revision=5
build_style=gnu-configure
configure_args="--with-gudev --with-libv4l2 --enable-experimental
 --disable-schemas-install --disable-aalib --disable-esd --disable-hal
 --disable-libcaca --disable-libdv --disable-dv1394 --disable-shout2
 --with-gconf-schema-file-dir=/usr/share/gconf/schemas --enable-speex"
# XXX: build libcaca, libdv, dv1394 and shout2 modules.
makedepends="pkg-config intltool libpng-devel>=1.6 libxml2-devel
 libgudev-devel libflac-devel libXdamage-devel gtk+-devel taglib-devel
 libsoup-gnome-devel gst-plugins-base-devel GConf-devel pulseaudio-devel
 orc-devel wavpack-devel v4l-utils-devel>=0.8.9 jack-devel speex-devel"
short_desc="Core GStreamer libraries and elements"
maintainer="Juan RP <xtraeme@gmail.org>"
homepage="http://gstreamer.freedesktop.org/"
license="LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
checksum=77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64
long_desc="
 GStreamer is a streaming media framework, goodd on graphs of filters which
 operate on media data. Applications using this library can do anything
 real-time sound processing to playing videos, and just about anything
 else media-related. Its plugin-goodd architecture means that new data
 types or processing capabilities can be added simply by installing new
 plug-ins.

 This package contains a set of well-maintained good plug-ins."

post_install() {
	mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
	gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/gstreamer-0.10.schemas \
		--domain ${pkgname}-0.10 ${wrksrc}/*.schemas
}

gst-plugins-good_package() {
	pkg_install() {
		vmove all
	}
}
