void-packages/srcpkgs/nv-codec-headers/template
Jürgen Buchmüller 7b7d91c8ef
nv-codec-headers: workaround for only_for_archs/noarch
Not sure if this is right. It builds, probably with not required
architecture dependency. How do you really solve this issue?

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-02-16 00:56:18 +01:00

18 lines
648 B
Bash

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