From a81212836dc1211a41eb5e2f76de6fbe214c4f6d Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Fri, 1 Mar 2024 21:21:32 -0500 Subject: ci/mingw: enable nvdec Install the nv-codec-headers to enable nvdec for ffmpeg. This allows the CI build to enable hwdec on opengl and vulkan contexts. --- ci/build-mingw64.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh index 797c48358c..350aac535c 100755 --- a/ci/build-mingw64.sh +++ b/ci/build-mingw64.sh @@ -161,6 +161,14 @@ _spirv_cross () { } _spirv_cross_mark=lib/libspirv-cross-c-shared.dll.a +_nv_headers () { + [ -d nv-codec-headers ] || $gitclone https://github.com/FFmpeg/nv-codec-headers + pushd nv-codec-headers + makeplusinstall + popd +} +_nv_headers_mark=include/ffnvcodec/dynlink_loader.h + _vulkan_headers () { [ -d Vulkan-Headers ] || $gitclone https://github.com/KhronosGroup/Vulkan-Headers builddir Vulkan-Headers @@ -246,7 +254,7 @@ _luajit () { } _luajit_mark=lib/libluajit-5.1.a -for x in iconv zlib shaderc spirv-cross; do +for x in iconv zlib shaderc spirv-cross nv-headers; do build_if_missing $x done if [[ "$TARGET" != "i686-"* ]]; then -- cgit v1.2.3