void-packages/srcpkgs/libvdpau/template
2019-11-27 16:32:55 +01:00

28 lines
798 B
Bash

# Template file for 'libvdpau'
pkgname=libvdpau
version=1.3
revision=1
build_style=meson
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/-/archive/${version}/libvdpau-${version}.tar.gz"
checksum=ba5f34571e258fd916d9fef3904e8a72eedb935e3d9055a0e3ea512854fba27c
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"
}
}