void-packages/srcpkgs/libva/template

32 lines
896 B
Text
Raw Normal View History

2011-08-11 19:27:10 +00:00
# Template file for 'libva'
pkgname=libva
2014-05-11 15:22:21 +00:00
_distver=1.3.1
2012-08-16 09:09:49 +00:00
version=1:${_distver}
revision=2
2014-03-24 17:13:39 +00:00
only_for_archs="i686 x86_64"
2012-08-16 09:09:49 +00:00
wrksrc="${pkgname}-${_distver}"
build_style=gnu-configure
2012-10-09 17:44:21 +00:00
configure_args="--disable-static"
hostmakedepends="pkg-config"
2014-03-24 16:53:22 +00:00
makedepends="libXfixes-devel MesaLib-devel wayland-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"
2014-05-11 15:22:21 +00:00
checksum=8789b1f1ca9cbc2c1ae477323ec8f5fb269b9360410d4d5e9ec96d679b3cc297
2011-08-11 19:27:10 +00:00
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}
}
libva-devel_package() {
2014-05-11 15:22:21 +00:00
depends="wayland-devel libva>=${version}_${revision}"
2013-06-26 20:58:32 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-06-26 20:58:32 +00:00
vmove "usr/lib/*.so"
}
}