Chrome79/com.google.Chrome79.yaml

128 lines
4 KiB
YAML
Raw Normal View History

2024-10-16 23:08:29 +03:00
app-id: com.google.Chrome79
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.chromium.Chromium.BaseApp
base-version: '23.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.bluez
- --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
- --talk-name=org.kde.StatusNotifierWatcher
- --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: v2024.01.17
commit: ded79a2f8a509adc21834b95a9892073d4a91fdc
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.Chrome79.desktop
- install -Dm 644 -t /app/share/metainfo com.google.Chrome79.metainfo.xml
- install -Dm 644 com.google.Chrome79.svg /app/share/icons/hicolor/scalable/apps/com.google.Chrome79.svg
sources:
- type: extra-data
url: https://www.slimjet.com/chrome/download-chrome.php?file=files%2F79.0.3945.88%2Fgoogle-chrome-stable_current_amd64.deb
sha256: 9f2ec10cfc313de21ca7c7100b50e088df741cd20812e76890e3d840ac7584cc
size: 62181264
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.Chrome79.desktop
- type: file
path: com.google.Chrome79.metainfo.xml
- type: file
path: com.google.Chrome79.svg