-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcom.usebruno.Bruno.yml
57 lines (51 loc) · 1.88 KB
/
com.usebruno.Bruno.yml
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
id: com.usebruno.Bruno
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
command: bruno
finish-args:
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --device=dri
- --filesystem=home
# required to fix cursor scaling on wayland, especially with fractional scaling
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
modules:
- name: unappimage
buildsystem: simple
build-commands:
- make -C squashfs-tools install INSTALL_DIR=/app/bin
sources:
- type: git
url: https://github.com/refi64/unappimage
commit: d7f86f2a0d7ec3a69211125207d5f127386b849a
- name: bruno
buildsystem: simple
sources:
- type: script
dest-filename: bruno
commands:
- zypak-wrapper.sh /app/extra/bruno/bruno --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
- type: extra-data
url: https://github.com/usebruno/bruno/releases/download/v1.37.0/bruno_1.37.0_x86_64_linux.AppImage
sha256: b4a997569964623ab8ba263268bfc9366501e3d92d8b258f91d86c21cf3010c2
filename: bruno.appimage
size: 124055338
- type: file
path: apply_extra.sh
- type: file
path: com.usebruno.Bruno.desktop
- type: file
path: com.usebruno.Bruno.metainfo.xml
- type: file
path: com.usebruno.Bruno.png
build-commands:
- install -Dm755 ./apply_extra.sh "${FLATPAK_DEST}/bin/apply_extra"
- install -Dm755 bruno -t "${FLATPAK_DEST}/bin/"
- install -Dm644 "${FLATPAK_ID}.desktop" -t "${FLATPAK_DEST}/share/applications"
- install -Dm644 "${FLATPAK_ID}.metainfo.xml" -t "${FLATPAK_DEST}/share/metainfo"
- install -Dm644 com.usebruno.Bruno.png -t "${FLATPAK_DEST}/share/icons/hicolor/512x512/apps"