void-packages/srcpkgs/nv-codec-headers/template
2021-08-07 17:56:49 +02:00

19 lines
639 B
Bash

# Template file for 'nv-codec-headers'
pkgname=nv-codec-headers
version=9.1.23.1
revision=1
archs="i686* x86_64*"
wrksrc="nv-codec-headers-n${version}"
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=063f49838113c90504fd430377a6025478e2a454f812ce8a4da033e474727dc8
post_install() {
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
vlicense LICENSE
}