mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-06 19:48:43 +08:00
31 lines
818 B
TOML
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}"
|
|
"""
|