void-packages/srcpkgs/libva/template

40 lines
1.1 KiB
Text
Raw Normal View History

2011-08-11 19:27:10 +00:00
# Template file for 'libva'
pkgname=libva
version=1.0.14
distfiles="http://cgit.freedesktop.org/libva/snapshot/libva-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-i965-driver --enable-glx"
short_desc="Video Acceleration (VA) API"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freedesktop.org/wiki/Software/vaapi"
license="MIT"
checksum=b15ab93b549651a07664ced831b20e559e0f7edabb57169af8049b3e761ea764
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)."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libdrm
Add_dependency run libXfixes
Add_dependency run MesaLib
Add_dependency build pkg-config
Add_dependency build automake
Add_dependency build libXfixes-devel
Add_dependency build MesaLib-devel
pre_configure()
{
autoreconf -fiv
}
post_install()
{
vinstall COPYING 644 usr/share/licenses/${pkgname}
}