-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.sigurs.LinuxComms.yml
More file actions
51 lines (47 loc) · 1.62 KB
/
org.sigurs.LinuxComms.yml
File metadata and controls
51 lines (47 loc) · 1.62 KB
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
app-id: io.sigurs.LinuxComms
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
command: linux-comms
finish-args:
# Display
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --device=dri
# Network (required for communication apps)
- --share=network
# Audio (PipeWire for calls)
- --socket=pulseaudio
- --filesystem=xdg-run/pipewire-0
# Session D-Bus (for xdg-desktop-portal)
- --socket=session-bus
# Portal access for screen sharing, camera, notifications
- --talk-name=org.freedesktop.portal.Desktop
- --talk-name=org.freedesktop.portal.ScreenCast
- --talk-name=org.freedesktop.portal.Camera
- --talk-name=org.freedesktop.Notifications
# User data
- --filesystem=xdg-config/linux-comms:create
- --filesystem=xdg-cache/linux-comms:create
modules:
- name: linux-comms
buildsystem: simple
build-commands:
- install -Dm755 linux-comms.sh /app/bin/linux-comms
- install -d /app/lib/linux-comms
- cp -r app/* /app/lib/linux-comms/
- install -Dm644 io.sigurs.LinuxComms.desktop /app/share/applications/io.sigurs.LinuxComms.desktop
- for size in 16 32 48 64 128 256 512; do
install -Dm644 assets/icons/${size}x${size}.png
/app/share/icons/hicolor/${size}x${size}/apps/io.sigurs.LinuxComms.png;
done
- install -Dm644 io.sigurs.LinuxComms.metainfo.xml
/app/share/metainfo/io.sigurs.LinuxComms.metainfo.xml
sources:
- type: dir
path: .
# Wrapper script
# linux-comms.sh sets Wayland/X11 flags and launches Electron