New package: nv-codec-headers12.0-12.0.16.1

fixes build for ffmpeg 4
This commit is contained in:
classabbyamp 2025-06-19 09:17:12 -04:00
parent f17b41d7f9
commit 3430201bec
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Template file for 'nv-codec-headers12.0'
# needed for ffmpeg 4
pkgname=nv-codec-headers12.0
version=12.0.16.1
revision=1
build_style=gnu-makefile
short_desc="FFmpeg 4 version of headers for Nvidia's 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=37e31c7ed0c9bf2da74646a3ec426c38a6d29e60b1fb7bff3e03a99b9412e050
conflicts="nv-codec-headers"
post_install() {
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
vlicense LICENSE
}

View file

@ -0,0 +1 @@
pattern=">n\K12\.0\.[\d\.]+(?=</a>)"