void-packages/srcpkgs/libvdpau/template
2020-11-14 16:08:44 +01:00

28 lines
798 B
Bash

# Template file for 'libvdpau'
pkgname=libvdpau
version=1.4
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=240dd8f9ec08de707529917677827ba12e13b9fc299eeb3af13ea05e7fc74aba
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"
}
}