void-packages/srcpkgs/libvdpau/template

28 lines
794 B
Bash

# Template file for 'libvdpau'
pkgname=libvdpau
version=1.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dri2proto libXext-devel"
conf_files="/etc/vdpau_wrapper.cfg"
short_desc="The Video Decode and Presentation API for UNIX"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://cgit.freedesktop.org/~aplattner/libvdpau"
license="MIT"
distfiles="http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${version}.tar.gz"
checksum=aea4e783f220bf26ba2139ccd866a0ee5005fa03af5e08c41fbc939118263919
post_install() {
vlicense COPYING
}
libvdpau-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}