2011-08-11 19:27:10 +00:00
|
|
|
# Template file for 'libva'
|
|
|
|
pkgname=libva
|
2011-11-03 08:54:47 +00:00
|
|
|
version=1.0.15
|
2011-11-03 13:19:45 +00:00
|
|
|
revision=2
|
2011-11-03 08:54:47 +00:00
|
|
|
distfiles="http://cgit.freedesktop.org/libva/snapshot/libva-$version.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-08-11 19:27:10 +00:00
|
|
|
short_desc="Video Acceleration (VA) API"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://freedesktop.org/wiki/Software/vaapi"
|
|
|
|
license="MIT"
|
2011-11-03 08:54:47 +00:00
|
|
|
checksum=7cc24ae9c947aa13904255244810d3637b03d41e2b6f4b643db3b97412cacd37
|
2011-08-11 19:27:10 +00:00
|
|
|
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
|
2011-11-03 13:19:45 +00:00
|
|
|
Add_dependency run libXfixes
|
2011-08-11 19:27:10 +00:00
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXext
|
|
|
|
Add_dependency run libdrm
|
2011-11-03 13:19:45 +00:00
|
|
|
Add_dependency run libGL
|
2011-08-11 19:27:10 +00:00
|
|
|
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build automake
|
|
|
|
Add_dependency build libXfixes-devel
|
|
|
|
Add_dependency build MesaLib-devel
|
|
|
|
|
2011-11-03 08:54:47 +00:00
|
|
|
pre_configure() {
|
2011-08-11 19:27:10 +00:00
|
|
|
autoreconf -fiv
|
|
|
|
}
|
|
|
|
|
2011-11-03 08:54:47 +00:00
|
|
|
post_install() {
|
2011-08-11 19:27:10 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|