From 24f8d156956604fdca2719b45d39a0064176142a Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 18 Dec 2018 21:28:41 +0100 Subject: [PATCH] New package: nv-codec-headers-8.2.15.6 --- srcpkgs/nv-codec-headers/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/nv-codec-headers/template diff --git a/srcpkgs/nv-codec-headers/template b/srcpkgs/nv-codec-headers/template new file mode 100644 index 0000000000..a9d43fd440 --- /dev/null +++ b/srcpkgs/nv-codec-headers/template @@ -0,0 +1,18 @@ +# Template file for 'nv-codec-headers' +pkgname=nv-codec-headers +version=8.2.15.6 +revision=1 +noarch=yes +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 " +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 +}