-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.cromite.cromite.yaml
73 lines (71 loc) · 2.42 KB
/
org.cromite.cromite.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
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
app-id: org.cromite.cromite
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.chromium.Chromium.BaseApp
base-version: '23.08'
command: cromite
separate-locales: false
finish-args:
- --device=all
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- --share=ipc
- --share=network
- --socket=cups
- --socket=pcsc # FIDO2
- --socket=pulseaudio
- --socket=x11
- --socket=wayland
- --require-version=1.8.2
- --system-talk-name=org.freedesktop.UPower
- --talk-name=org.freedesktop.FileManager1
- --talk-name=org.freedesktop.ScreenSaver
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.kwalletd5
- --talk-name=org.kde.kwalletd6
- --talk-name=org.gnome.SessionManager
- --talk-name=org.gnome.Mutter.IdleMonitor.*
- --system-talk-name=org.freedesktop.Avahi
- --own-name=org.mpris.MediaPlayer2.chromium.*
- --filesystem=xdg-run/pipewire-0
# For default download directory to work as expected
- --filesystem=xdg-download
# For GNOME proxy resolution
- --filesystem=xdg-run/dconf
- --filesystem=~/.config/dconf:ro
- --talk-name=ca.desrt.dconf
# For KDE proxy resolution (KDE5 only)
- --filesystem=~/.config/kioslaverc
- --filesystem=/run/.heim_org.h5l.kcm-socket
- --persist=.pki
modules:
- name: cromite
buildsystem: simple
build-commands:
- mkdir -p /app
- bsdtar -xf cromite.tar.gz -C /app
- mv /app/chrome-lin /app/cromite
- install -Dm 644 LICENSE /app/cromite/LICENSE
- install -Dm 644 cromite.desktop /app/share/applications/org.cromite.cromite.desktop
- install -Dm 644 cromite.svg /app/share/icons/hicolor/scalable/apps/org.cromite.cromite.svg
- install -Dm 755 cromite.sh /app/bin/cromite
- install -Dm 644 -t /app/etc cobalt.ini
- install -Dm 644 -t /app/share/metainfo org.cromite.cromite.metainfo.xml
sources:
- type: file
url: https://github.com/uazo/cromite/releases/download/flatpak-sandbox-patch/chrome-lin64.tar.gz
sha256: 9fb6c87d47aa50955d015211f7b0dcbee2e0b49a5b4822ee48f2863f2dcbe702
dest-filename: cromite.tar.gz
only-arches: [x86_64]
- type: file
path: cobalt.ini
- type: file
path: org.cromite.cromite.metainfo.xml
- type: file
path: LICENSE
- type: file
path: cromite.svg
- type: file
path: cromite.desktop
- type: file
path: cromite.sh