vp-build/srcpkgs/libvdpau/template
2014-07-02 21:39:30 +02:00

28 lines
797 B
Plaintext

# Template file for 'libvdpau'
pkgname=libvdpau
version=0.8
revision=1
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=73a7d11cc1abed8bcaf1392bd361fc00fd43bd85bbeafb12a64bdd0bcb4101ed
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libvdpau-devel_package() {
depends="libX11-devel libvdpau>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}