-
Notifications
You must be signed in to change notification settings - Fork 20
/
com.brave.Browser.yaml
124 lines (122 loc) · 4.11 KB
/
com.brave.Browser.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
app-id: com.brave.Browser
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.chromium.Chromium.BaseApp
base-version: '24.08'
command: brave
separate-locales: false
build-options:
no-debuginfo: true
finish-args:
- --device=all
- --env=GTK_PATH=/app/lib/gtkmodules
- --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.Notifications
- --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.ScreenSaver
- --talk-name=org.gnome.Mutter.IdleMonitor.*
- --talk-name=org.cinnamon.ScreenSaver
- --talk-name=org.mate.ScreenSaver
- --talk-name=org.xfce.ScreenSaver
- --system-talk-name=org.freedesktop.Avahi
- --own-name=org.mpris.MediaPlayer2.brave.*
- --filesystem=xdg-run/pipewire-0
# To load policies on the host /etc/brave/policies
- --filesystem=host-etc
# To install a PWA application
- --filesystem=home/.local/share/applications:create
- --filesystem=home/.local/share/icons:create
- --filesystem=xdg-desktop
# For default download directory to work as expected (PR #324)
- --filesystem=xdg-download
# For GNOME proxy resolution
- --filesystem=xdg-run/dconf
- --filesystem=~/.config/dconf:ro
- --talk-name=ca.desrt.dconf
- --env=DCONF_USER_CONFIG_DIR=.config/dconf
- --env=GIO_EXTRA_MODULES=/app/lib/gio/modules
- --env=GSETTINGS_BACKEND=dconf
# For KDE proxy resolution (KDE5 only)
- --filesystem=~/.config/kioslaverc
- --filesystem=/run/.heim_org.h5l.kcm-socket
- --persist=.pki
modules:
- name: dconf
buildsystem: meson
config-opts:
- -Dbash_completion=false
- -Dman=false
- -Dvapi=false
cleanup:
- /etc
- /include
- ca.desrt.dconf.service
- dconf.service
- dconf-service
- '*.pc'
sources:
- type: archive
url: https://download.gnome.org/sources/dconf/0.40/dconf-0.40.0.tar.xz
sha256: cf7f22a4c9200421d8d3325c5c1b8b93a36843650c9f95d6451e20f0bcb24533
x-checker-data:
type: gnome
name: dconf
stable-only: true
# From: https://src.fedoraproject.org/rpms/dconf
- type: patch
path: dconf-override.patch
- name: zypak
sources:
- type: git
url: https://github.com/refi64/zypak
tag: v2024.01.17
commit: ded79a2f8a509adc21834b95a9892073d4a91fdc
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: brave
buildsystem: simple
build-commands:
- mkdir -p /app/brave
- bsdtar -xf brave.zip -C /app/brave
- install -Dm 644 brave-browser.desktop /app/share/applications/com.brave.Browser.desktop
- install -Dm 644 brave_lion.svg /app/share/icons/hicolor/scalable/apps/com.brave.Browser.svg
- install -Dm 755 brave.sh /app/bin/brave
- install -Dm 644 -t /app/etc cobalt.ini
- install -Dm 644 -t /app/share/metainfo com.brave.Browser.metainfo.xml
sources:
- type: file
url: https://github.com/brave/brave-browser/releases/download/v1.73.104/brave-browser-1.73.104-linux-amd64.zip
sha256: d1c8e91cb19b5ec8e5a9bdd0a86ad53ed2b1ce29e8d287b9892426016b3df25c
dest-filename: brave.zip
only-arches: [x86_64]
- type: file
url: https://github.com/brave/brave-browser/releases/download/v1.73.104/brave-browser-1.73.104-linux-arm64.zip
sha256: c7b53c55eb9974562edab25696ba18b67f073436f203f228cf8d446e0f19955c
dest-filename: brave.zip
only-arches: [aarch64]
- type: file
path: cobalt.ini
- type: file
path: com.brave.Browser.metainfo.xml
- type: file
path: brave_lion.svg
- type: file
path: brave-browser.desktop
- type: file
path: brave.sh