git: a5032859a69f - main - multimedia/ffnvcodec-headers: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 19 Oct 2022 17:44:09 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a5032859a69f5e5d8135fa4bc0cbc28cf6cfc41e

commit a5032859a69f5e5d8135fa4bc0cbc28cf6cfc41e
Author:     Alex S <iwtcex@gmail.com>
AuthorDate: 2022-05-16 20:03:02 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-19 17:40:50 +0000

    multimedia/ffnvcodec-headers: add new port
    
    FFmpeg version of headers required to interface with Nvidia's codec APIs.
    
    https://github.com/FFmpeg/nv-codec-headers
    
    PR:             264025
---
 multimedia/Makefile                    |  1 +
 multimedia/ffnvcodec-headers/Makefile  | 18 ++++++++++++++++++
 multimedia/ffnvcodec-headers/distinfo  |  3 +++
 multimedia/ffnvcodec-headers/pkg-descr |  1 +
 multimedia/ffnvcodec-headers/pkg-plist |  6 ++++++
 5 files changed, 29 insertions(+)

diff --git a/multimedia/Makefile b/multimedia/Makefile
index ca1fb19333d3..443f2e0065a4 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -62,6 +62,7 @@
     SUBDIR += ffmpeg
     SUBDIR += ffmpegthumbnailer
     SUBDIR += ffms2
+    SUBDIR += ffnvcodec-headers
     SUBDIR += filebot
     SUBDIR += flvmeta
     SUBDIR += flvstreamer
diff --git a/multimedia/ffnvcodec-headers/Makefile b/multimedia/ffnvcodec-headers/Makefile
new file mode 100644
index 000000000000..48f0a6bfd9af
--- /dev/null
+++ b/multimedia/ffnvcodec-headers/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=		ffnvcodec-headers
+DISTVERSIONPREFIX=	n
+DISTVERSION=		11.1.5.0
+CATEGORIES=		multimedia
+
+MAINTAINER=		iwtcex@gmail.com
+COMMENT=		FFmpeg version of Nvidia Codec SDK headers
+WWW=			https://github.com/FFmpeg/nv-codec-headers
+
+LICENSE=		MIT
+
+USES=			gmake
+
+USE_GITHUB=		yes
+GH_ACCOUNT=		FFmpeg
+GH_PROJECT=		nv-codec-headers
+
+.include <bsd.port.mk>
diff --git a/multimedia/ffnvcodec-headers/distinfo b/multimedia/ffnvcodec-headers/distinfo
new file mode 100644
index 000000000000..d090d6dbf284
--- /dev/null
+++ b/multimedia/ffnvcodec-headers/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652659321
+SHA256 (FFmpeg-nv-codec-headers-n11.1.5.0_GH0.tar.gz) = b833bd90852c1f45d01f65c70545f6a31e5b9ca64814a269626c7ad2286d55ee
+SIZE (FFmpeg-nv-codec-headers-n11.1.5.0_GH0.tar.gz) = 69720
diff --git a/multimedia/ffnvcodec-headers/pkg-descr b/multimedia/ffnvcodec-headers/pkg-descr
new file mode 100644
index 000000000000..9cd1623675c7
--- /dev/null
+++ b/multimedia/ffnvcodec-headers/pkg-descr
@@ -0,0 +1 @@
+FFmpeg version of headers required to interface with Nvidia's codec APIs.
diff --git a/multimedia/ffnvcodec-headers/pkg-plist b/multimedia/ffnvcodec-headers/pkg-plist
new file mode 100644
index 000000000000..2f7cbcb244a0
--- /dev/null
+++ b/multimedia/ffnvcodec-headers/pkg-plist
@@ -0,0 +1,6 @@
+include/ffnvcodec/dynlink_cuda.h
+include/ffnvcodec/dynlink_cuviddec.h
+include/ffnvcodec/dynlink_loader.h
+include/ffnvcodec/dynlink_nvcuvid.h
+include/ffnvcodec/nvEncodeAPI.h
+libdata/pkgconfig/ffnvcodec.pc