Files
oak-editor/vcpkg.json
T
Mike-Solar 794850daf6 ci: fix the VA runtime path, container shm and the vcpkg binary cache
Three independent failures from the last run:

- Linux undefined `vaMapBuffer2`: the runner had apt libva 2.20 while
  vcpkg builds shared libva 2.24.1, and the loader had no path to it.
  Drop the apt libva packages and put `$prefix/lib` on LD_LIBRARY_PATH
  for the Linux and openKylin jobs.
- openKylin "render manager failed to start": a container's /dev/shm is
  64 MiB, but the process pool reserves >64 MiB per worker with
  posix_fallocate, so segment creation fails. Run the container with
  `--shm-size=2g`.
- macOS "no decoder for codec PNG": the vcpkg ffmpeg manifest never
  enabled the `png` feature the oak-cli transcode tests need. Add it.
- Windows dependency install took 41 minutes: it was rebuilding FFmpeg
  and every codec port from source because the binary archive cache was
  never saved. The combined `actions/cache` step with the deprecated
  `save-always: true` does not save after a failed job, and the previous
  run failed in Build. Replace it in all four jobs with an explicit
  restore + `actions/cache/save (if: always() && cache-hit != 'true')`.
2026-09-12 23:10:48 +08:00

54 lines
1.2 KiB
JSON

{
"name": "oak",
"version": "0.5.0",
"$comment": "FFmpeg (+ pkgconf, librsvg on Windows) for every desktop platform CI/CD builds — Linux, macOS and Windows — with the project's feature set (every free codec + hwaccel, mirroring tooling/ffmpeg/build-ffmpeg.sh's configure switches). Local builds may keep using tooling/install-deps.sh + tooling/ffmpeg/build-ffmpeg.sh. ffmpeg is pinned to 9.0.1#1 via overrides; builtin-baseline pins the rest of the port tree.",
"builtin-baseline": "771b0a2e7c473c3a6bee56553be4d5bb32bb653c",
"dependencies": [
{
"name": "ffmpeg",
"features": [
"gpl",
"version3",
"x264",
"x265",
"dav1d",
"vpx",
"openh264",
"openjpeg",
"png",
"theora",
"webp",
"mp3lame",
"opus",
"vorbis",
"speex",
"snappy",
"ass",
"freetype",
"fribidi",
"fontconfig",
"openssl",
{
"name": "nvcodec",
"platform": "linux | (windows & !arm64)"
},
{
"name": "vaapi",
"platform": "linux"
}
]
},
"pkgconf",
{
"name": "librsvg",
"platform": "windows"
}
],
"overrides": [
{
"name": "ffmpeg",
"version": "8.1.2#3"
}
]
}