# Template file for 'gstreamer-vaapi'
pkgname=gstreamer-vaapi
version=0.6.0
revision=1
build_style="gnu-configure"
configure_args="--disable-builtin-libvpx --disable-static --disable-wayland --with-gstreamer-api=1.0"
hostmakedepends="pkg-config"
makedepends="libXrandr-devel libva-devel MesaLib-devel gst-plugins-bad1-devel"
short_desc="VA-API plugins for GStreamer (1.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/"
distfiles="http://www.freedesktop.org/software/vaapi/releases/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=f6a4c657606849fb09ee2db778c80278cfa4546e9103862f273c910e208872b8
lib32disabled=yes
nocross=yes

gstreamer-vaapi-devel_package() {
	lib32disabled=yes
	depends="gstreamer-vaapi-${version}_${revision}"
	short_desc="VA-API plugins for GStreamer (1.x) - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
	}
}
