{ "app-id": "org.wezfurlong.wezterm", "runtime": "org.freedesktop.Platform", "runtime-version": "23.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.rust-stable" ], "command": "wezterm", "finish-args": [ "--share=ipc", "--filesystem=home:ro", "--filesystem=xdg-config/wezterm", "--socket=fallback-x11", "--socket=wayland", "--device=dri", "--talk-name=org.freedesktop.Flatpak", "--talk-name=org.freedesktop.Notifications", "--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/", "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" ], "sources": [ { "type": "dir", "path": "../.." }, "generated-sources.json" ] } ] }