mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
New package: nv-codec-headers12.0-12.0.16.1
fixes build for ffmpeg 4
This commit is contained in:
parent
f17b41d7f9
commit
3430201bec
2 changed files with 19 additions and 0 deletions
18
srcpkgs/nv-codec-headers12.0/template
Normal file
18
srcpkgs/nv-codec-headers12.0/template
Normal 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
|
||||
}
|
1
srcpkgs/nv-codec-headers12.0/update
Normal file
1
srcpkgs/nv-codec-headers12.0/update
Normal file
|
@ -0,0 +1 @@
|
|||
pattern=">n\K12\.0\.[\d\.]+(?=</a>)"
|
Loading…
Add table
Reference in a new issue