Skip to content

Commit a1f9341

Browse files
committed
fix(dist): Homebrew formula depends_on ffmpeg (stage = run)
The default dependency stage is build-only, so the generated formula had no depends_on and brew install did not pull ffmpeg. Mark ffmpeg as build+run.
1 parent d539ed1 commit a1f9341

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,7 @@ install-updater = false
5252
install-path = "CARGO_HOME"
5353

5454
# ffmpeg is a runtime dependency; have the Homebrew formula pull it in.
55+
# `stage = ["run"]` is what emits `depends_on "ffmpeg"` in the formula — the
56+
# default stage is build-only, which would NOT install ffmpeg for users.
5557
[workspace.metadata.dist.dependencies.homebrew]
56-
ffmpeg = "*"
58+
ffmpeg = { version = "*", stage = ["build", "run"] }

0 commit comments

Comments
 (0)