Skip to content

Commit

Permalink
meson: Add a wrap file for ff-nvcodec-headers
Browse files Browse the repository at this point in the history
This will automatically clone the repository and provide the ffnvcodec
dependency if it is not found on the system.
  • Loading branch information
nirbheek committed Feb 20, 2022
1 parent df18c2e commit 6b2f2cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.o
samples/*.mp4
subprojects/*/
12 changes: 12 additions & 0 deletions subprojects/ff-nvcodec-headers.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[wrap-file]
directory = nv-codec-headers-11.1.5.1
source_url = https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.1/nv-codec-headers-11.1.5.1.tar.gz
source_filename = nv-codec-headers-11.1.5.1.tar.gz
source_hash = a28cdde3ac0e9e02c2dde7a1b4de5333b4ac6148a8332ca712da243a3361a0d9
patch_filename = ff-nvcodec-headers_11.1.5.1-0_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/ff-nvcodec-headers_11.1.5.1-0/get_patch
patch_hash = 5ecf67ad26f1e4a3f2a8e10b22b37130dea8c867058ba79271441fdfd4f524a6

[provide]
ffnvcodec = ffnvcodec_dep

0 comments on commit 6b2f2cd

Please sign in to comment.