void-packages/srcpkgs/libvdpau/template

29 lines
796 B
Bash

# Template file for 'libvdpau'
pkgname=libvdpau
version=1.1.1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto 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=5fe093302432ef05086ca2ee429c789b7bf843e166d482d166e56859b08bef55
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"
}
}