# Template file for 'libva-intel-driver'
pkgname=libva-intel-driver
version=1.0.19
revision=1
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://www.freedesktop.org/software/vaapi/releases/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=2db68da9f4cea9b726ce2cd7c6246d902085310d83609082e453aa01559ea792
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}
}
