# Template file for 'gst-plugins-base1'.
pkgname=gst-plugins-base1
version=1.1.1
revision=1
wrksrc="gst-plugins-base-${version}"
build_style=gnu-configure
configure_args="--enable-experimental --disable-static"
hostmakedepends="pkg-config gobject-introspection"
makedepends="libgudev-devel
 gstreamer1-devel>=${version} glib-devel libxml2-devel pango-devel
 cairo-devel liboil-devel alsa-lib-devel libXv-devel libXext-devel
 libvisual-devel cdparanoia-devel libtheora-devel libvorbis-devel
 libSM-devel orc-devel>=0.4.17"
short_desc="GStreamer Base Plug-ins (v1.x)"
maintainer="Juan RP <xtraeme@gmail.org>"
homepage="http://gstreamer.freedesktop.org/"
license="GPL-2, LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${version}.tar.xz"
checksum=f974e3125d75df5785347b610be5eb9b6128bfc25ef3f0ce8f64f9c51ea74e72

gst-plugins-base1-devel_package() {
	depends="gstreamer1-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/gir*"
	}
}

gst-plugins-base1_package() {
	depends="orc>=0.4.17 gstreamer1>=${version}"
	pkg_install() {
		vmove all
	}
}
