-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdev.vencord.Vesktop.yml
71 lines (62 loc) · 3.38 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
app-id: dev.vencord.Vesktop
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
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=~/.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
- install -D squashfs-root/usr/share/icons/hicolor/512x512/apps/vesktop.png /app/share/icons/hicolor/512x512/apps/dev.vencord.Vesktop.png
- install -D squashfs-root/usr/share/icons/hicolor/16x16/apps/vesktop.png /app/share/icons/hicolor/16x16/apps/dev.vencord.Vesktop.png
- 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: 7f2c2379fd65bcd5985846678f55ed3693b12b62e7ba83468fd039f775a7dc1ff42f3c4df92e5c20460c1dc613704a61d3c6f08f0a0400770f8bca5e390c309b
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.0.AppImage
dest-filename: Vesktop.AppImage
sha512: 7a08b94e3688d31d5a1915e47a0c885f1efbe0ec8e86674aa0dad1fef4fbe726faff28a126f1fca2afdcfd16262b6e1b55b8dfddbcc72d3bc6731e7633bc05f0
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.0-arm64.AppImage
dest-filename: Vesktop.AppImage
sha512: a8e311deb03e4368b8ee1a8d4bfc60ece5d4de100383179f6492e80867a3d38f34eb2795b44f4168adb17eb06c6f00ec7680a914607c5de05b005910be596e1a
only-arches: [aarch64]
x-checker-data:
type: electron-updater
url: https://github.com/Vencord/Vesktop/releases/latest/download/latest-linux-arm64.yml