Skip to content

Conversation

@classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Dec 9, 2025

useful for mesa (see #57292), where there are a signficant number of crates referenced via meson wrap files, but this could be generally useful for other meson-based packages that do a similar thing for vendored libraries.

This could be further extended in the future to add support for git/hg/svn wraps by adding subclasses of Wrap that support those metadata options.

The intended workflow is for the script to generate a snippet that can be pasted into the template

setting MESON_PACKAGE_CACHE_DIR allows meson to look for tarballs for wraps it needs automatically.

Testing the changes

  • I tested the changes in this PR: YES

@classabbyamp classabbyamp added the xbps-src xbps-src related label Dec 9, 2025
@classabbyamp classabbyamp force-pushed the meson-wrap-script branch 3 times, most recently from d1c9833 to c5fb251 Compare December 9, 2025 03:02
useful for mesa, where there are a signficant number of crates
referenced via meson wrap files, but this could be generally useful for
other meson-based packages that do a similar thing for vendored
libraries.

This could be further extended in the future to add support for
git/hg/svn wraps by adding subclasses of `Wrap` that support those
metadata options.

setting `MESON_PACKAGE_CACHE_DIR` allows meson to look for tarballs for
wraps it needs automatically.
@classabbyamp classabbyamp merged commit 87ca1cc into void-linux:master Dec 14, 2025
@classabbyamp classabbyamp deleted the meson-wrap-script branch December 14, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

xbps-src xbps-src related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant