redox/recipes/wip/terminal/wezterm/recipe.toml
2025-11-13 06:12:04 -03:00

31 lines
818 B
TOML

#TODO not compiled or tested
# build instructions: https://wezterm.org/install/source.html
# dependencies reference: https://github.com/wez/wezterm/blob/main/get-deps#L149
[source]
git = "https://github.com/wez/wezterm"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"mesa",
"fontconfig",
"openssl3",
"libxkbcommon",
"libx11",
"libxcb",
]
script = """
DYNAMIC_INIT
package=wezterm
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${package}" \
--release \
--no-default-features \
--features=vendored-fonts
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${package}"
"""