void-packages/srcpkgs/libvdpau/template

28 lines
827 B
Bash

# Template file for 'libvdpau'
pkgname=libvdpau
version=1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
conf_files="/etc/vdpau_wrapper.cfg"
short_desc="Video Decode and Presentation API for UNIX"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://freedesktop.org/wiki/Software/VDPAU/"
distfiles="https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/libvdpau-${version}.tar.bz2"
checksum=6a499b186f524e1c16b4f5b57a6a2de70dfceb25c4ee546515f26073cd33fa06
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"
}
}