void-packages/srcpkgs/libvdpau/template

32 lines
830 B
Text

# Template file for 'libvdpau'
pkgname=libvdpau
version=0.6
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dri2proto libX11-devel libXext-devel"
short_desc="The Video Decode and Presentation API for UNIX"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cgit.freedesktop.org/~aplattner/libvdpau"
license="MIT"
distfiles="http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${version}.tar.gz"
checksum=9b55beec9d8b01bbf89229b7d075ceee870f4e1830523c11f29a46c07fe72d75
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libvdpau-devel_package() {
depends="libX11-devel libvdpau>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libvdpau_package() {
pkg_install() {
vmove usr
}
}