2011-08-11 19:27:10 +00:00
|
|
|
# Template file for 'libva'
|
|
|
|
pkgname=libva
|
2013-04-20 06:00:33 +00:00
|
|
|
_distver=1.1.1
|
2012-08-16 09:09:49 +00:00
|
|
|
version=1:${_distver}
|
2013-04-20 06:00:33 +00:00
|
|
|
revision=1
|
2012-08-16 09:09:49 +00:00
|
|
|
wrksrc="${pkgname}-${_distver}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-09 17:44:21 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libXfixes-devel MesaLib-devel"
|
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"
|
2012-10-09 17:44:21 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2"
|
2013-04-20 06:00:33 +00:00
|
|
|
checksum=c0af7bf3e96e19fbd0513fbf461a010638907136b5ee0d68094fa0cc7e66cd4d
|
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)."
|
|
|
|
|
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}
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libva-devel_package() {
|
|
|
|
depends="libva-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libva_package() {
|
|
|
|
pkg_install() {
|
2013-04-20 06:00:33 +00:00
|
|
|
vmove all
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|