# Template file for 'libva'
pkgname=libva
_distver=1.0.16
version=1:${_distver}
revision=1
wrksrc="${pkgname}-${_distver}"
build_style=gnu-configure
makedepends="pkg-config automake libXfixes-devel MesaLib-devel"
subpackages="$pkgname-devel"
short_desc="Video Acceleration (VA) API"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freedesktop.org/wiki/Software/vaapi"
license="MIT"
distfiles="http://cgit.freedesktop.org/libva/snapshot/libva-${_distver}.tar.bz2"
checksum=a9a39a2b92eeab73c517de7e6b841c2840b040ea685f850866fe58242cc2f161
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)."

pre_configure() {
	autoreconf -fiv
}

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