Skip to content

Add dav2d recipe#33209

Open
baszalmstra wants to merge 6 commits intoconda-forge:mainfrom
baszalmstra:claude/package-dav2d-conda-5m1Nl
Open

Add dav2d recipe#33209
baszalmstra wants to merge 6 commits intoconda-forge:mainfrom
baszalmstra:claude/package-dav2d-conda-5m1Nl

Conversation

@baszalmstra
Copy link
Copy Markdown
Member

Adds a recipe for dav2d, VideoLAN's new cross-platform AV2 decoder. dav2d is the AV2 successor to dav1d, written in C99 with optional NASM-based asm acceleration on x86, and released under the BSD-2-Clause license. It is developed by VideoLAN as part of its membership in the Alliance for Open Media (AOM).

This recipe builds the shared libdav2d library plus the dav2d CLI tool using Meson + Ninja. ASM is enabled automatically by upstream on x86/AArch64/PPC64LE/RISC-V/LoongArch; nasm is only added as a build dep on x86 platforms.

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
  • License file is packaged (see here for an example).
  • Source is from official source. (code.videolan.org/videolan/dav2d release tarball, sha256-pinned)
  • Package does not vendor other packages.
  • If static libraries are linked in, the license of the static library is packaged. (n/a — none linked)
  • Package does not ship static libraries. (built with --default-library=shared)
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe.
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

claude added 3 commits May 2, 2026 18:22
dav2d is VideoLAN's AV2 decoder, the AV2 successor to dav1d.
BSD-2-Clause licensed, built with Meson + Ninja (and nasm on x86).
@conda-forge-admin
Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/dav2d/recipe.yaml) and found it was in an excellent condition.

@baszalmstra baszalmstra marked this pull request as ready for review May 2, 2026 18:46
@baszalmstra
Copy link
Copy Markdown
Member Author

@conda-forge/help-c-cpp , Ready for review!

@carterbox
Copy link
Copy Markdown
Member

Please base your v1 recipe on our prototype v1 recipe in the dav1d-feedstock. conda-forge/dav1d-feedstock#24

@carterbox
Copy link
Copy Markdown
Member

Also, do you have an actual use-case for this codec already? It's pretty early days for this project. One of their incomplete tasks is "provide a usable API" 😅

Mirror the rattler-build prototype from conda-forge/dav1d-feedstock#24:
top-level recipe with a staging cache build feeding split outputs for
libdav2d1 (versioned shared lib), libdav2d (pin enforcer), dav2d-dev
(headers + pkgconfig), and dav2d (CLI). Build script lives in
cache.sh / cache.bat using ${MESON_ARGS} from the conda-forge
activation.
@conda-forge-admin
Copy link
Copy Markdown
Contributor

conda-forge-admin commented May 4, 2026

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/dav2d/recipe.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/dav2d/recipe.yaml:

  • ℹ️ It looks like the '???' output doesn't have any tests.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/25343043755. Examine the logs at this URL for more detail.

claude added 2 commits May 4, 2026 20:25
- Add back dav2d -v smoke test on the dav2d output
- Add back negative file-existence checks across all outputs to verify
  the multi-output split puts files in the right packages
- Replace package_contents lib: dav2d with explicit files: globs.
  rattler-build's lib check on Windows expects both Library/bin/*.dll
  and Library/lib/*.lib to be present in the same package, which fails
  for the libdav2dN / dav2d-dev split where they live separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants