Skip to content

Commit

Permalink
ci/win32: enable all available projects from meson's wrapdb
Browse files Browse the repository at this point in the history
Rubber Band is disabled because it pulls more dependencies and it is not
worth build. Might be reconsidered later.
  • Loading branch information
kasper93 committed May 11, 2024
1 parent 1ae7b67 commit 4278e9c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ jobs:
- name: Update Meson WrapDB
run: |
meson wrap update-db
# Explicitly download wraps, as nested projects may have older versions of them.
meson wrap install expat
meson wrap install harfbuzz
meson wrap install libpng
meson wrap install zlib
- name: Build
id: build
Expand Down
26 changes: 15 additions & 11 deletions ci/build-win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ $projects = @(
URL = "https://github.com/KhronosGroup/SPIRV-Cross"
Revision = "main"
Method = "cmake"
},
# Remove harfbuzz wrap once the new version with build fixes is released.
@{
Path = "$subprojects/harfbuzz.wrap"
URL = "https://github.com/harfbuzz/harfbuzz"
Revision = "main"
Provides = @(
"harfbuzz = libharfbuzz_dep"
)
}
)

Expand All @@ -130,23 +121,36 @@ clone-recursive = true
}

meson setup build `
--force-fallback-for=zlib `
--wrap-mode=forcefallback `
-Ddefault_library=static `
-Dlibmpv=true `
-Dtests=true `
-Dgpl=true `
-Dffmpeg:gpl=enabled `
-Dffmpeg:tests=disabled `
-Dffmpeg:programs=disabled `
-Dffmpeg:sdl2=disabled `
-Dffmpeg:vulkan=auto `
-Dlcms2:fastfloat=true `
-Dlcms2:jpeg=disabled `
-Dlcms2:tiff=disabled `
-Dlibusb:tests=false `
-Dlibusb:examples=false `
-Dlibplacebo:demos=false `
-Dlibplacebo:lcms=enabled `
-Dlibplacebo:shaderc=enabled `
-Dlibplacebo:vulkan=enabled `
-Dlibplacebo:d3d11=enabled `
-Dxxhash:inline-all=true `
-Dxxhash:cli=false `
-Dluajit:amalgam=true `
-Dd3d11=enabled `
-Djavascript=enabled `
-Dlua=luajit
-Dlua=luajit `
-Ddrm=disabled `
-Dlibarchive=disabled `
-Drubberband=disabled `
-Dwayland=disabled `
-Dx11=disabled
ninja -C build mpv.exe mpv.com libmpv.a
./build/mpv.com -v --no-config

0 comments on commit 4278e9c

Please sign in to comment.