# Template file for 'libva-intel-driver'
_distname=intel-driver
pkgname=libva-${_distname}
version=1.0.15
wrksrc=${_distname}-${version}
distfiles="http://cgit.freedesktop.org/vaapi/${_distname}/snapshot/${_distname}-$version.tar.bz2"
build_style=gnu-configure
revision=1
short_desc="Video Acceleration (VA) API - Intel Graphics backend"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freedesktop.org/wiki/Software/vaapi"
license="MIT"
checksum=52f16f78129af00ec40afc6a1b8fb07c7b6c6c0da7f43a54e19afd2a41791098
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."


Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build libva-devel
Add_dependency build libdrm-devel
Add_dependency build libX11-devel

pre_configure() {
	autoreconf -fi
}

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