/
com.microsoft.Edge.yaml
137 lines (130 loc) · 4.32 KB
/
com.microsoft.Edge.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
app-id: com.microsoft.Edge
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk: org.freedesktop.Sdk
command: edge
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=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.secrets
- --talk-name=org.gnome.SessionManager
- --system-talk-name=org.freedesktop.Avahi
- --filesystem=xdg-run/pipewire-0
- --own-name=org.mpris.MediaPlayer2.edge.*
- --filesystem=xdg-download
modules:
- libsecret.json
- name: libcups
make-args: [libs]
no-make-install: true
post-install:
- make install-headers install-libs
cleanup:
- /include
sources:
- type: archive
url: https://github.com/apple/cups/releases/download/v2.3.3/cups-2.3.3-source.tar.gz
sha256: 261fd948bce8647b6d5cb2a1784f0c24cc52b5c4e827b71d726020bcc502f3ee
- name: gtk-cups-backend
buildsystem: meson
make-args: [modules/printbackends/libprintbackend-cups.so]
no-make-install: true
post-install:
- install -Dm 755 modules/printbackends/libprintbackend-cups.so -t /app/lib/gtkmodules/3.0.0/printbackends/
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/gtk.git
tag: 3.24.23
commit: 016e8c55ab924c9ef4d32c8cb06253b1dc1be60d
- name: gtk-settings
buildsystem: simple
build-commands:
- install -Dm 644 gtk-settings.ini /app/etc/xdg/gtk-3.0/settings.ini
sources:
- type: file
path: gtk-settings.ini
- name: pipewire
buildsystem: meson
config-opts:
- -Dgstreamer=disabled
- -Dman=false
- -Dsystemd=false
sources:
- type: git
url: https://github.com/PipeWire/pipewire.git
tag: 0.2.7
commit: 14c11c0fe4d366bad4cfecdee97b6652ff9ed63d
- name: zypak
sources:
- type: git
url: https://github.com/refi64/zypak
tag: v2021.02
commit: ae8b0423588479d8403c192feb630c582656bee6
- name: flextop
buildsystem: meson
sources:
- type: git
url: https://github.com/refi64/flextop
commit: 485c332c7ec36a8b74be8f3622fc756ac6263f40
- name: edge
buildsystem: simple
build-commands:
- install -Dm 755 edge.sh /app/bin/edge
- 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/share/flatpak-edge flatpak_policy.json
- install -Dm 644 -t /app/share/flatpak-edge mimic_warning.txt
- install -Dm 644 -t /app/share/applications com.microsoft.Edge.desktop
- install -Dm 644 -t /app/share/metainfo com.microsoft.Edge.metainfo.xml
- install -Dm 644 com.microsoft.Edge-256.png /app/share/icons/hicolor/256x256/apps/com.microsoft.Edge.png
# 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://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-dev
url: https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-dev/microsoft-edge-dev_91.0.825.0-1_amd64.deb
sha256: d47222b2c51fa40fdb62a4077748e69815a6e8bf5b367f754c817e24a184cbce
filename: edge.deb
strip-components: 0
x-checker-data:
type: debian-repo
package-name: microsoft-edge-dev
root: https://packages.microsoft.com/repos/edge
dist: stable
component: main
size: 94610646
- type: script
dest-filename: stub_sandbox.sh
commands:
- 'echo "Stub sandbox ignoring command: $@"'
- exit 1
- type: file
path: edge.sh
- type: file
path: apply_extra.sh
- type: file
path: flatpak_policy.json
- type: file
path: mimic_warning.txt
- type: file
path: com.microsoft.Edge.desktop
- type: file
path: com.microsoft.Edge.metainfo.xml
- type: file
path: icons/com.microsoft.Edge-256.png