ci/win32: add dav1d

This commit is contained in:
Kacper Michajłow 2024-09-03 18:44:49 +02:00
parent f02b8bc9fd
commit 0eb5e914d9
2 changed files with 10 additions and 0 deletions

View File

@ -170,6 +170,7 @@ jobs:
run: | run: |
$env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' -and ` $env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' -and `
$_ -ne 'C:\Strawberry\c\bin' }) -join ';' $_ -ne 'C:\Strawberry\c\bin' }) -join ';'
$env:PATH += ';C:\Program Files\NASM'
Import-Module "$env:VS\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" Import-Module "$env:VS\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
Enter-VsDevShell -VsInstallPath $env:VS -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -host_arch=x64" Enter-VsDevShell -VsInstallPath $env:VS -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -host_arch=x64"
./ci/build-win32.ps1 ./ci/build-win32.ps1

View File

@ -136,6 +136,14 @@ $projects = @(
URL = "https://code.videolan.org/videolan/libplacebo.git" URL = "https://code.videolan.org/videolan/libplacebo.git"
Revision = "master" Revision = "master"
}, },
@{
Path = "$subprojects/dav1d.wrap"
URL = "https://code.videolan.org/videolan/dav1d"
Revision = "master"
Provides = @(
"dav1d = dav1d_dep"
)
},
@{ @{
Path = "$subprojects/spirv-cross.wrap" Path = "$subprojects/spirv-cross.wrap"
URL = "https://github.com/KhronosGroup/SPIRV-Cross" URL = "https://github.com/KhronosGroup/SPIRV-Cross"
@ -179,6 +187,7 @@ meson setup build `
-Dffmpeg:programs=disabled ` -Dffmpeg:programs=disabled `
-Dffmpeg:sdl2=disabled ` -Dffmpeg:sdl2=disabled `
-Dffmpeg:vulkan=auto ` -Dffmpeg:vulkan=auto `
-Dffmpeg:libdav1d=enabled `
-Dlcms2:fastfloat=true ` -Dlcms2:fastfloat=true `
-Dlcms2:jpeg=disabled ` -Dlcms2:jpeg=disabled `
-Dlcms2:tiff=disabled ` -Dlcms2:tiff=disabled `