void-packages/srcpkgs/libvdpau/template
2022-04-07 19:09:31 +02:00

28 lines
798 B
Bash

# Template file for 'libvdpau'
pkgname=libvdpau
version=1.5
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libXext-devel xorgproto"
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=66490802f30426d30ff9e8af35263bbbbaa23b52d0a2d797d06959c3d19638fd
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"
}
}