# Template file for 'libva-intel-driver'
pkgname=libva-intel-driver
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libX11-devel libva-devel>=1:1.2.0 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=a6fceaa118fe5d1a6e7382ed30e6684b4059b3fedd79eb53121a80e8016c748c
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.2.0"
	pkg_install() {
		vmove all
	}
}
