31 lines
839 B
Plaintext
31 lines
839 B
Plaintext
# Template file for 'libva'
|
|
pkgname=libva
|
|
_distver=1.2.1
|
|
version=1:${_distver}
|
|
revision=2
|
|
wrksrc="${pkgname}-${_distver}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libXfixes-devel MesaLib-devel"
|
|
short_desc="Video Acceleration (VA) API"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://freedesktop.org/wiki/Software/vaapi"
|
|
license="MIT"
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2"
|
|
checksum=70080f8b260ca4316f7e100f2ce15ad3e2356a2b9eff951278085ff8d48ea83b
|
|
|
|
post_install() {
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
}
|
|
|
|
libva-devel_package() {
|
|
depends="libva>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|