2022-07-29 18:04:22 +03:00
|
|
|
{
|
|
|
|
"app-id": "org.wezfurlong.wezterm",
|
|
|
|
"runtime": "org.freedesktop.Platform",
|
|
|
|
"runtime-version": "21.08",
|
|
|
|
"sdk": "org.freedesktop.Sdk",
|
|
|
|
"sdk-extensions" : [
|
|
|
|
"org.freedesktop.Sdk.Extension.rust-stable"
|
|
|
|
],
|
|
|
|
"command": "wezterm",
|
|
|
|
"finish-args": [
|
|
|
|
"--share=ipc",
|
2022-08-03 04:10:16 +03:00
|
|
|
"--filesystem=home:ro",
|
2022-07-29 18:04:22 +03:00
|
|
|
"--socket=fallback-x11",
|
|
|
|
"--socket=wayland",
|
|
|
|
"--device=dri",
|
2022-08-03 04:10:16 +03:00
|
|
|
"--talk-name=org.freedesktop.Flatpak",
|
|
|
|
"--talk-name=org.freedesktop.Notifications",
|
|
|
|
"--talk-name=org.freedesktop.portal.Desktop",
|
|
|
|
"--talk-name=org.freedesktop.portal.Settings",
|
2022-07-29 18:04:22 +03:00
|
|
|
"--share=network"
|
|
|
|
],
|
|
|
|
"build-options": {
|
|
|
|
"append-path" : "/usr/lib/sdk/rust-stable/bin"
|
|
|
|
},
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "wezterm",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-options": {
|
|
|
|
"env": {
|
|
|
|
"CARGO_HOME": "/run/build/wezterm/cargo"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"build-commands": [
|
|
|
|
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
|
|
|
|
"cargo --offline build --release --verbose",
|
|
|
|
"mkdir -p /app/share/icons/hicolor/128x128/apps/",
|
|
|
|
"cp ./assets/icon/terminal.png /app/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png",
|
|
|
|
"mkdir -p /app/share/metainfo/",
|
|
|
|
"cp ./assets/wezterm.appdata.xml /app/share/metainfo/org.wezfurlong.wezterm.appdata.xml",
|
|
|
|
"mkdir -p /app/share/applications/",
|
|
|
|
"cp ./assets/wezterm.desktop /app/share/applications/org.wezfurlong.wezterm.desktop",
|
|
|
|
"install -Dm755 ./target/release/wezterm -t /app/bin/",
|
2022-08-03 16:45:35 +03:00
|
|
|
"install -Dm755 ./target/release/wezterm-gui -t /app/bin/",
|
|
|
|
"install -Dm755 ./target/release/wezterm-mux-server -t /app/bin/",
|
|
|
|
"install -Dm755 ./target/release/strip-ansi-escapes -t /app/bin/",
|
|
|
|
"install -Dm644 assets/shell-integration/* -t /app/extra/export/share/etc/profile.d",
|
|
|
|
"install -Dm644 assets/shell-completion/zsh /app/extra/export/share/zsh/site-functions/_wezterm",
|
|
|
|
"install -Dm644 assets/shell-completion/bash /app/extra/export/share/etc/bash_completion.d/wezterm"
|
|
|
|
],
|
2022-07-29 18:04:22 +03:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "dir",
|
|
|
|
"path": "../.."
|
|
|
|
},
|
|
|
|
"generated-sources.json"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|