[vlc-commits] contrib: add nvcodec headers from FFmpeg

Steve Lhomme git at videolan.org
Wed Sep 18 09:05:21 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 25 07:54:52 2019 +0200| [d83c607fbcb1394d6da01182558c2e8914f2b74e] | committer: Steve Lhomme

contrib: add nvcodec headers from FFmpeg

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d83c607fbcb1394d6da01182558c2e8914f2b74e
---

 contrib/src/nvcodec/SHA512SUMS |  1 +
 contrib/src/nvcodec/rules.mak  | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/contrib/src/nvcodec/SHA512SUMS b/contrib/src/nvcodec/SHA512SUMS
new file mode 100644
index 0000000000..1a942b25fb
--- /dev/null
+++ b/contrib/src/nvcodec/SHA512SUMS
@@ -0,0 +1 @@
+106200fbaac880fe5773c43f1404bf98a97efe2046e3ee2d71e58cf65d8b0ef5be3539acd721c1fd9d59270e087b52da159f836e5ed77da831b5a17a511eab0a  nvcodec-9fdaf11b8f79d4e41cde9af89656238f25fec6fd.tar.xz
diff --git a/contrib/src/nvcodec/rules.mak b/contrib/src/nvcodec/rules.mak
new file mode 100644
index 0000000000..85bac226e1
--- /dev/null
+++ b/contrib/src/nvcodec/rules.mak
@@ -0,0 +1,19 @@
+NVCODEC_HASH := 9fdaf11b8f79d4e41cde9af89656238f25fec6fd
+NVCODEC_GITURL := https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
+
+ifndef HAVE_DARWIN_OS
+PKGS += nvcodec
+endif
+
+$(TARBALLS)/nvcodec-$(NVCODEC_HASH).tar.xz:
+	$(call download_git,$(NVCODEC_GITURL),,$(NVCODEC_HASH))
+
+.sum-nvcodec: nvcodec-$(NVCODEC_HASH).tar.xz
+
+nvcodec: nvcodec-$(NVCODEC_HASH).tar.xz .sum-nvcodec
+	$(UNPACK)
+	$(MOVE)
+
+.nvcodec: nvcodec-$(NVCODEC_HASH).tar.xz nvcodec
+	cd nvcodec && make install PREFIX="$(PREFIX)"
+	touch $@



More information about the vlc-commits mailing list