forked from flathub/io.github.spacingbat3.webcord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.spacingbat3.webcord.yml
56 lines (53 loc) · 2.13 KB
/
io.github.spacingbat3.webcord.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
app-id: io.github.spacingbat3.webcord
runtime: org.freedesktop.Platform
runtime-version: '23.08'
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
sdk: org.freedesktop.Sdk
command: run.sh
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --share=network
- --device=all
- --talk-name=org.kde.StatusNotifierWatcher
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
modules:
- name: webcord
buildsystem: simple
sources:
- type: file
url: https://github.com/SpacingBat3/WebCord/releases/download/v4.8.0/WebCord-4.8.0-x64.AppImage
sha256: 2f847e36bd9180033a5d822bc5e70773442f30323d75f463c4b788b38c8e6678
only-arches: [x86_64]
- type: file
url: https://github.com/SpacingBat3/WebCord/releases/download/v4.8.0/WebCord-4.8.0-arm64.AppImage
sha256: e095816b5146ff381102692b91fb3efb58983020cc18387d609f28e15aa3599d
only-arches: [aarch64]
- type: file
dest-filename: run.sh
path: ./vitamins/run.sh
- type: file
path: ./vitamins/io.github.spacingbat3.webcord.desktop
- type: file
path: ./vitamins/io.github.spacingbat3.webcord.metainfo.xml
- type: file
path: ./vitamins/icon48.png
- type: file
path: ./vitamins/icon128.png
- type: file
path: ./vitamins/icon256.png
build-commands:
- install -Dm775 run.sh /app/bin/run.sh
- install -D io.github.spacingbat3.webcord.desktop -t /app/share/applications/
- install -D io.github.spacingbat3.webcord.metainfo.xml -t /app/share/metainfo/
- install -D icon48.png /app/share/icons/hicolor/48x48/apps/io.github.spacingbat3.webcord.png
- install -D icon128.png /app/share/icons/hicolor/128x128/apps/io.github.spacingbat3.webcord.png
- install -D icon256.png /app/share/icons/hicolor/256x256/apps/io.github.spacingbat3.webcord.png
- chmod +x WebCord-*.AppImage
- ./WebCord-*.AppImage --appimage-extract
- mv squashfs-root /app/bin/webcord
- sed 's|exec xargs|exec xargs zypak-wrapper|g' -i /app/bin/webcord/usr/bin/webcord