# Template file for 'gstreamer1'.
pkgname=gstreamer1
version=1.1.1
revision=1
wrksrc="gstreamer-${version}"
build_style=gnu-configure
configure_args="--disable-debug --disable-valgrind --enable-docbook
 --with-package-origin=http://code.google.com/p/xbps"
hostmakedepends="pkg-config flex python docbook-xsl gobject-introspection"
makedepends="libxml2-devel libglib-devel"
short_desc="Core GStreamer libraries and elements (1.x)"
maintainer="Juan RP <xtraeme@gmail.org>"
homepage="http://gstreamer.freedesktop.org/"
license="LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${version}.tar.xz"
checksum=74892b1a877cd84592d8179878e270937ecd5dcc3c09a88d777cff5992e5b45f

gstreamer1-devel_package() {
	depends="libxml2-devel libglib-devel ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/aclocal
		vmove "usr/share/gir*"
	}
}

gstreamer1_package() {
	pkg_install() {
		vmove all
	}
}
