# Template file for 'nv-codec-headers'
pkgname=nv-codec-headers
version=13.0.19.0
revision=1
build_style=gnu-makefile
short_desc="FFmpeg version of headers required to interface with Nvidias codec APIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git"
distfiles="https://github.com/FFmpeg/nv-codec-headers/archive/n${version}.tar.gz"
checksum=86d15d1a7c0ac73a0eafdfc57bebfeba7da8264595bf531cf4d8db1c22940116

post_install() {
	sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
	vlicense LICENSE
}
