-
Notifications
You must be signed in to change notification settings - Fork 13
/
com.github.alacritty.yaml
63 lines (63 loc) · 2.89 KB
/
com.github.alacritty.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
53
54
55
56
57
58
59
60
61
62
63
app-id: com.github.alacritty
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: alacritty
rename-desktop-file: Alacritty.desktop
rename-icon: Alacritty
copy-icon: true
finish-args:
- --device=dri
- --filesystem=home
- --share=ipc
- --share=network
- --socket=wayland
# also keep x11 socket enabled so WINIT_UNIX_BACKEND=x11 will still work
- --socket=x11
modules:
- name: alacritty
buildsystem: simple
build-options:
build-args:
- --share=network
build-commands:
- cargo build --release --locked
- install -D -m755 target/release/alacritty /app/bin/alacritty
- install -D -m644 alacritty.yml /app/share/doc/alacritty/example/alacritty.yml
- install -D -m644 extra/alacritty.man /app/share/man/man1/alacritty.1
- install -D -m644 extra/completions/_alacritty /app/share/zsh/site-functions/_alacritty
- install -D -m644 extra/completions/alacritty.bash /app/share/bash-completion/completions/alacritty
- install -D -m644 extra/completions/alacritty.fish /app/share/fish/vendor_completions.d/alacritty.fish
- install -D -m644 extra/linux/Alacritty.desktop /app/share/applications/Alacritty.desktop
- install -D -m644 extra/linux/io.alacritty.Alacritty.appdata.xml /app/share/appdata/io.alacritty.Alacritty.appdata.xml
- install -D -m644 extra/logo/alacritty-term.svg /app/share/icons/hicolor/scalable/apps//Alacritty.svg
- install -D -m644 extra/linux/Alacritty.desktop /app/share/applications/${FLATPAK_ID}-x11.desktop
- desktop-file-edit --set-key=Name --set-value="Alacritty (x11)" --set-key=Exec --set-value="env WINIT_UNIX_BACKEND=x11 alacritty" --set-key=Icon --set-value=${FLATPAK_ID} /app/share/applications/${FLATPAK_ID}-x11.desktop
sources:
- type: archive
url: https://github.com/alacritty/alacritty/archive/v0.9.0.tar.gz
sha256: 6d3aaac9e0477f903563b6fb26e089118407cdbfe952a1e2ffbf4e971b7062b3
x-checker-data:
type: anitya
project-id: 141678
stable-only: true
url-template: https://github.com/alacritty/alacritty/archive/v$version.tar.gz
modules:
- name: rust
buildsystem: simple
build-commands:
- ./install.sh --components=rustc,cargo,rust-std-x86_64-unknown-linux-gnu
--prefix=/app
sources:
- type: archive
url: https://static.rust-lang.org/dist/rust-1.55.0-x86_64-unknown-linux-gnu.tar.gz
sha256: 2080253a2ec36ac8ed6e060d30802d888533124b8d16545cfd4af898b365eaac
dest-filename: rust-x86_64-unknown-linux-gnu.tar.gz
x-checker-data:
type: anitya
project-id: 7635
stable-only: true
url-template: https://static.rust-lang.org/dist/rust-$version-x86_64-unknown-linux-gnu.tar.gz
cleanup:
- '*'
- ../shared-modules/byobu/byobu.json