-
Notifications
You must be signed in to change notification settings - Fork 13
/
org.wezfurlong.wezterm.yaml
52 lines (52 loc) · 1.92 KB
/
org.wezfurlong.wezterm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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:
- --device=dri
- --filesystem=home
- --share=ipc
- --share=network
- --socket=wayland
# keep x11 enabled
- --socket=x11
cleanup:
- /include
- /lib/pkgconfig
- '*.a'
- '*.la'
modules:
- name: wezterm
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
build-args:
- --share=network
env:
- CARGO_HOME=/run/build/wezterm/cargo
buildsystem: simple
build-commands:
- cargo fetch
- cargo build --release
- install -Dm755 target/release/{strip-ansi-escapes,wezterm{,-gui,-mux-server}} -t ${FLATPAK_DEST}/bin/
- install -Dm644 assets/icon/terminal.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm644 assets/icon/wezterm-icon.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm644 assets/wezterm.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 assets/wezterm.appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml
- install -Dm644 assets/shell-integration/* -t ${FLATPAK_DEST}/etc/profile.d/
sources:
- type: git
url: https://github.com/wez/wezterm
branch: main
commit: 24875004f66640e220bb1e4369afc93e5417e0c0
# - type: archive
# url: https://github.com/wez/wezterm/releases/download/20210814-124438-54e29167/wezterm-20210814-124438-54e29167-src.tar.gz
# sha256: 66937628eb8d536bbfa2ac0e41b463c80a5d735fe36d62a0061d706fb1f8a765
# x-checker-data:
# type: aniyta
# project-id: 235427
# stable-only: true
# url-template: https://github.com/wez/wezterm/releases/download/$version/wezterm-$version-src.tar.gz
- ../shared-modules/byobu/byobu.json