void-packages/srcpkgs/libva/template

31 lines
839 B
Plaintext
Raw Normal View History

2011-08-11 21:27:10 +02:00
# Template file for 'libva'
pkgname=libva
2013-06-27 15:28:38 +02:00
_distver=1.2.1
2012-08-16 11:09:49 +02:00
version=1:${_distver}
2014-02-21 11:15:03 +01:00
revision=2
2012-08-16 11:09:49 +02:00
wrksrc="${pkgname}-${_distver}"
build_style=gnu-configure
2012-10-09 19:44:21 +02:00
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libXfixes-devel MesaLib-devel"
2011-08-11 21:27:10 +02: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 19:44:21 +02:00
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2"
2013-06-27 15:28:38 +02:00
checksum=70080f8b260ca4316f7e100f2ce15ad3e2356a2b9eff951278085ff8d48ea83b
2011-08-11 21:27:10 +02:00
2011-11-03 09:54:47 +01:00
post_install() {
2011-08-11 21:27:10 +02:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libva-devel_package() {
2014-02-21 11:15:03 +01:00
depends="libva>=${version}_${revision}"
2013-06-26 22:58:32 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-06-26 22:58:32 +02:00
vmove "usr/lib/*.so"
}
}