forked from flathub/com.google.Chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.google.Chrome.yaml
145 lines (142 loc) · 4.58 KB
/
com.google.Chrome.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
app-id: com.google.Chrome
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
base: org.chromium.Chromium.BaseApp
base-version: '22.08'
command: chrome
separate-locales: false
build-options:
no-debuginfo: true
tags:
- proprietary
finish-args:
- --device=all
- --env=GTK_PATH=/app/lib/gtkmodules
- --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.gnome.SessionManager
- --system-talk-name=org.freedesktop.Avahi
- --own-name=org.mpris.MediaPlayer2.chromium.*
- --filesystem=/run/.heim_org.h5l.kcm-socket
- --filesystem=host-etc
- --filesystem=xdg-run/pipewire-0
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-videos
- --filesystem=xdg-pictures
# 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
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: v2022.04
commit: 55a60d110301e8dd37b631503c3524ab7baaf7aa
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: chrome
buildsystem: simple
build-commands:
- install -Dm 755 chrome.sh /app/bin/chrome
- install -Dm 755 apply_extra.sh /app/bin/apply_extra
- install -Dm 755 stub_sandbox.sh /app/bin/stub_sandbox
- install -Dm 644 -t /app/etc cobalt.ini
- install -Dm 644 -t /app/share/applications com.google.Chrome.desktop
- install -Dm 644 -t /app/share/metainfo com.google.Chrome.metainfo.xml
- |
for icon in 16 24 32 48 64 128 256; do
install -Dm 644 com.google.Chrome-$icon.png /app/share/icons/hicolor/${icon}x${icon}/apps/com.google.Chrome.png
done
# For extra-data to be able to extract the .deb
- install -Dm 755 /{usr,app}/bin/ar
- cp /usr/lib/$(gcc --print-multiarch)/libbfd-*.so /app/lib
sources:
- type: extra-data
# From https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages
url: https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_110.0.5481.177-1_amd64.deb
sha256: 42da4fed6d29e95d4ea5db48328d5811e3de8ade4ee9f39a40f967b09053d46b
size: 94023644
filename: chrome.deb
only-arches: [x86_64]
x-checker-data:
type: debian-repo
root: https://dl.google.com/linux/chrome/deb
dist: stable
component: main
package-name: google-chrome-stable
is-main-source: true
- type: script
dest-filename: stub_sandbox.sh
commands:
- 'echo "Stub sandbox ignoring command: $@"'
- exit 1
- type: file
path: chrome.sh
- type: file
path: apply_extra.sh
- type: file
path: cobalt.ini
- type: file
path: com.google.Chrome.desktop
- type: file
path: com.google.Chrome.metainfo.xml
- type: file
path: icons/com.google.Chrome-16.png
- type: file
path: icons/com.google.Chrome-24.png
- type: file
path: icons/com.google.Chrome-32.png
- type: file
path: icons/com.google.Chrome-48.png
- type: file
path: icons/com.google.Chrome-64.png
- type: file
path: icons/com.google.Chrome-128.png
- type: file
path: icons/com.google.Chrome-256.png