void-packages/srcpkgs/nv-codec-headers/template

18 lines
601 B
Bash

# Template file for 'nv-codec-headers'
pkgname=nv-codec-headers
reverts="12.2.72.0_1"
version=11.1.5.1
revision=2
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=d095fbd56aa93772471a323be0ebe65504a0f43f06c76a30b6d25da77b06ae9c
post_install() {
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
vlicense LICENSE
}