# Template file for 'gstreamer-vaapi'
pkgname=gstreamer-vaapi
version=0.3.7
revision=1
nofetch=yes
noextract=yes
wrksrc=${pkgname}
subpackages="${pkgname}-devel"
build_style=gnu-configure
configure_args="--disable-static --enable-vaapisink-glx"
makedepends="automake git which gtk-doc pkg-config libva-devel
gst-plugins-base-devel gst-plugins-bad-devel MesaLib-devel ffmpeg-devel"
short_desc="VA-API plugins for GStreamer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.splitted-desktop.com/static/libva/gstreamer-vaapi/"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
long_desc="
 ${pkgname} is a collection of GStreamer plugins and helper libraries that
 allow hardware accelerated video decoding through VA-API."

do_fetch() {
	git clone -b ${version} git://gitorious.org/vaapi/gstreamer-vaapi.git
}

pre_configure() {
	./autogen.sh
}
