# Template file for 'libva-intel-driver'
pkgname=libva-intel-driver
version=1.0.20
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libX11-devel libva-devel>=1:1.0.16 libdrm-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=12fefb661372c053ff26530fae8342f9df63dbe8ab2c548d8d430d994042d4c9
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."

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

libva-intel-driver_package() {
	depends="libva>=1:1.0.16"
	pkg_install() {
		vmove all
	}
}