# Template file for 'libva-intel-driver'
_distname=intel-driver
pkgname=libva-${_distname}
version=1.0.18
revision=2
wrksrc=${_distname}-${version}
build_style=gnu-configure
depends="libva>=1:1.0.16"
makedepends="automake pkg-config libva-devel>=1:1.0.16 libdrm-devel libX11-devel"
short_desc="Video Acceleration (VA) API - Intel Graphics backend"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freedesktop.org/wiki/Software/vaapi"
license="MIT"
distfiles="http://cgit.freedesktop.org/vaapi/${_distname}/snapshot/${_distname}-$version.tar.bz2"
checksum=609bfe3f4ff72e8f6bcc2a80f1ca6f59790838469707a2fe4ad33e90b807cad4
long_desc="
 The main motivation for VA-API (Video Acceleration API) is to enable hardware
 accelerated video decode/encode at various entry-points (VLD, IDCT, Motion
 Compensation etc.) for the prevailing coding standards today (MPEG-2,
 MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).

 This package includes the VA-API backend for Intel G45 chipsets and Intel
 HD Graphics."

pre_configure() {
	./autogen.sh
}

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}
