Add support for wrap-git meson subprojects#423
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
- Updated parse_wrap() to support both [wrap-file] and [wrap-git] sections - Added meson_subprojects_git_fetch() method to handle git cloning for wrap-git - Updated meson_subprojects_extract() to handle both wrap-file and wrap-git - Parser now skips empty lines and section headers like [provide] - Git subprojects are cloned with optional depth parameter - Supports custom directory names for git subprojects Co-authored-by: rgonzalezfluendo <56379722+rgonzalezfluendo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for wrap-git meson subprojects in cerbero
Add support for wrap-git meson subprojects
Feb 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Meson subproject support only handled
wrap-filetypes. Projects usingwrap-gitsubprojects (like ffmpeg with nasm-binary) would fail.Changes
Extended wrap parser (
parse_wrap()):[wrap-file]or[wrap-git][provide]directory,source_url,source_filename,source_hashurl,revisionAdded git subproject fetcher (
meson_subprojects_git_fetch()):subprojects/directorydepthparameter for shallow clonesdirectoryparameter for custom checkout locationUpdated subproject extraction (
meson_subprojects_extract()):Example
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.