Skip to content

Commit

Permalink
ci/win32: add luajit
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed May 11, 2024
1 parent 41d4791 commit 5837f04
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ci/build-win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ spirv_cross_c_dep = declare_dependency(dependencies: [
meson.override_dependency('spirv-cross-c-shared', spirv_cross_c_dep)
"@

if (-not (Test-Path "$subprojects/packagefiles/luajit")) {
New-Item -Path "$subprojects/packagefiles/luajit" -ItemType Directory | Out-Null
}
git clone https://github.com/benoit-pierre/wrapdb --depth 1 -b pr/add_luajit wrapdb_luajit
Copy-Item -Path "wrapdb_luajit/subprojects/luajit.wrap" -Destination "$subprojects"
Copy-Item -Path "wrapdb_luajit/subprojects/packagefiles/luajit/*" `
-Destination "$subprojects/packagefiles/luajit" -Recurse -Force

$projects = @(
@{
Path = "$subprojects/ffmpeg.wrap"
Expand Down Expand Up @@ -135,7 +143,9 @@ meson setup build `
-Dlibplacebo:shaderc=enabled `
-Dlibplacebo:vulkan=enabled `
-Dlibplacebo:d3d11=enabled `
-Dluajit:amalgam=true `
-Dd3d11=enabled `
-Djavascript=enabled
-Djavascript=enabled `
-Dlua=luajit
ninja -C build mpv.exe mpv.com libmpv.a
./build/mpv.com -v --no-config

0 comments on commit 5837f04

Please sign in to comment.