-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdev.vencord.Vesktop.yml
76 lines (67 loc) · 3.44 KB
/
dev.vencord.Vesktop.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
app-id: dev.vencord.Vesktop
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: *runtime-version
command: startvesktop
separate-locales: false
finish-args:
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --share=network
- --talk-name=org.kde.StatusNotifierWatcher # Tray functionalities on KDE
- --device=all # Needed for GPU acceleration and the webcam
- --filesystem=xdg-videos:ro
- --filesystem=xdg-pictures:ro
- --filesystem=xdg-download # This and the above two are used for drag-n-drop, and download managing
- --filesystem=xdg-run/pipewire-0 # Pipewire interfacing
- --filesystem=xdg-run/speech-dispatcher # For TTS and VcNarrator
- --filesystem=~/.steam # Needed for SteamOS integration, as the XDG OpenURL portal doesn't work properly in Game Mode. We only need ~/.steam/steam.pipe but Flatpak can't correctly mount just that: 'File "/home/deck/.steam/steam.pipe" has unsupported type 0o10000'
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons # This is used to show the correct cursor on Wayland
modules:
- name: Vesktop
buildsystem: simple
build-commands:
- chmod +x Vesktop.AppImage
- ./Vesktop.AppImage --appimage-extract
- desktop-file-edit --set-key="Exec" --set-value="startvesktop" --set-icon=$FLATPAK_ID
squashfs-root/vesktop.desktop
- |
for icon in 16 32 48 64 128 256 512; do
install -D squashfs-root/usr/share/icons/hicolor/${icon}x${icon}/apps/vesktop.png \
/app/share/icons/hicolor/${icon}x${icon}/apps/dev.vencord.Vesktop.png
done
- install -D squashfs-root/vesktop.desktop /app/share/applications/dev.vencord.Vesktop.desktop
- install -Dm755 startvesktop /app/bin/startvesktop
- install -D dev.vencord.Vesktop.metainfo.xml -t /app/share/metainfo/
- mv squashfs-root /app/bin/vesktop
sources:
- type: file
path: startvesktop
- type: file
url: https://raw.githubusercontent.com/Vencord/Vesktop/main/meta/dev.vencord.Vesktop.metainfo.xml
sha512: 5bc9cfcd6e0ce4ebc75af542b8cff2d284963858cdde39ac268e8f3f12e17f4607f74f02d0105a0de5192930d4885616f627455b43c0c7317145bb7377c62613
x-checker-data:
type: json
url: https://api.github.com/repos/Vencord/Vesktop/contents/meta/dev.vencord.Vesktop.metainfo.xml
version-query: .sha
url-query: .download_url
- type: file
url: https://github.com/Vencord/Vesktop/releases/latest/download/Vesktop-1.5.4.AppImage
dest-filename: Vesktop.AppImage
sha512: 72fef93527083157d4831835c6625f0533ecb1c9c7aff0cf0989ecfde133f6d941da8e8de9ce9b710c10e7754a26de252f81a7839271975bb20a9ea68f0ed91b
only-arches: [x86_64]
x-checker-data:
type: electron-updater
url: https://github.com/Vencord/Vesktop/releases/latest/download/latest-linux.yml
- type: file
url: https://github.com/Vencord/Vesktop/releases/latest/download/Vesktop-1.5.4-arm64.AppImage
dest-filename: Vesktop.AppImage
sha512: 68e1b00eddcb1715bfc17c69eec77d2724ed28ddc861c55f45f55c8fb903f26c2ed3a423b746119e874b0385988383153fa3c63ea5d6316b0e83345d3fade803
only-arches: [aarch64]
x-checker-data:
type: electron-updater
url: https://github.com/Vencord/Vesktop/releases/latest/download/latest-linux-arm64.yml