forked from MoralCode/Grayjay-Flatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.grayjay.Desktop.yaml
46 lines (40 loc) · 1.74 KB
/
app.grayjay.Desktop.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
app-id: app.grayjay.Desktop
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: /app/grayjay/run-with-overlay.sh
finish-args:
- --share=network
- --socket=pulseaudio # We want to play sound, I suppose
- --socket=x11
- --socket=wayland
- --share=network
- --device=dri
# not ideal per the docs (https://docs.flatpak.org/en/latest/sandbox-permissions.html#d-bus-access) but probably needed for org.kde.KWallet (KDE only?) and/or org.freedesktop.portal.Secret at a minimum
# see also: https://gitlab.gnome.org/World/Authenticator/-/issues/332#note_1471001
- --socket=system-bus
modules:
- name: grayjay
buildsystem: simple
# run-tests: true
# build-options:
build-commands:
- mkdir -p /app/grayjay
- cp -r * -d /app/grayjay
- install -Dm 0644 app.grayjay.Desktop.desktop /app/share/applications/app.grayjay.Desktop.desktop
- install -Dm 0644 app.grayjay.Desktop.metainfo.xml /app/share/metainfo/app.grayjay.Desktop.metainfo.xml
- install -Dm 0644 grayjay128.png /app/share/icons/hicolor/128x128/apps/app.grayjay.Desktop.png
- rm /app/grayjay/Portable # https://github.com/futo-org/Grayjay.Desktop/issues/14#issuecomment-2692940623
- install -Dm 0755 run-with-overlay.sh /app/grayjay/run-with-overlay.sh
sources:
- type: archive
url: https://updater.grayjay.app/Apps/Grayjay.Desktop/Grayjay.Desktop-linux-x64.zip
sha256: 021cb82e2feb3e74935da4073ba8db3a024b354b7d3a2cdb15d6484c9a620512
- type: file
path: meta/app.grayjay.Desktop.desktop
- type: file
path: meta/app.grayjay.Desktop.metainfo.xml
- type: file
path: meta/grayjay128.png
- type: file
path: run-with-overlay.sh