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

19 lines
648 B
Bash

# Template file for 'nv-codec-headers'
pkgname=nv-codec-headers
version=9.0.18.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="Johannes <johannes.brechtmann@gmail.com>"
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=6181a5dac66a6990aa3baf10a77ae677f372b9068be9ef73abfd37b73fb4c745
post_install() {
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
vlicense LICENSE
}