New package: libva-1.0.14.

This commit is contained in:
Juan RP 2011-08-11 21:27:10 +02:00
parent 35db4d868a
commit eaaa7b3483
5 changed files with 60 additions and 0 deletions

1
srcpkgs/libva-devel Symbolic link
View file

@ -0,0 +1 @@
libva

2
srcpkgs/libva/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.0.14"
api_depends="${abi_depends}"

View file

@ -0,0 +1,16 @@
# Template file for 'libva-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXfixes-devel
Add_dependency run MesaLib-devel
Add_dependency run libva
do_install()
{
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

39
srcpkgs/libva/template Normal file
View file

@ -0,0 +1,39 @@
# 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}
}

View file

@ -821,3 +821,5 @@ swig-file-file.so go go
libblktapctl.so.1 xen xen-devel
libmozjs185.so.1 js js-devel
libwebp.so libwebp libwebp-devel
libva-x11.so libva libva-devel
libva.so libva libva-devel