Hello, another Opera dev over here.
Just for your information, a similar issue happened to our package before with gnome-3-28-1804
.
@ogra @James-Carroll Could you take a look if this is relevant?
Also, I noticed that both Brave and Chormium do not have a dbus
slot anymore. Instead, mpris
is used. Should we also update our yaml file to use mpris
as well? Like this:
name: {{ filesystem_name }}
version: {{ major }}.{{ minor }}.{{ nightly }}.{{ patch }}
summary: Fast and secure web browser
description: |
Opera is a fast, secure, and user-friendly web browser.
It includes a built-in ad blocker, Video pop-out, and free VPN.
architectures:
- build-on: amd64
base: core22
confinement: strict
grade: stable
plugs:
browser-sandbox:
allow-sandbox: true
interface: browser-support
# We need to specify the chromium-ffmpeg interface slot for Opera. When a snap
# version Opera cannot play H.264 videos while the debian version can,
# consider update to the latest interface slot first. A slot version may also
# be removed from chromium-ffmpeg. In this case, we can do
# `snap revert chromium-ffmpeg` as a workaround.
chromium-ffmpeg-111306:
interface: content
target: $SNAP
default-provider: chromium-ffmpeg
apps:
{{ filesystem_name }}:
command: bin/{{ filesystem_name }}.launcher
desktop: usr/share/applications/{{ filesystem_name }}.desktop
environment:
DISABLE_WAYLAND: 1
GTK_USE_PORTAL: 1
extensions: [gnome]
slots:
- mpris
plugs:
- audio-playback
- audio-record
- bluez
- camera
- cups-control
- hardware-observe
- home
- joystick
- mount-observe
- network
- network-control
- network-manager
- opengl
- password-manager-service
- pulseaudio
- raw-usb
- removable-media
- screen-inhibit-control
- system-packages-doc
- u2f-devices
- unity7
- upower-observe
parts:
browser:
plugin: dump
source: data
stage-packages:
- libnss3
- libxss1
override-build: |
craftctl default
chmod 4755 $SNAPCRAFT_PART_INSTALL/{{ target_dir }}/{{ filesystem_name }}/opera_sandbox
prime:
- -etc/init.d
- -etc/xdg
- -usr/include
- -usr/share/doc
- -usr/share/lintian
- -usr/share/man
slots:
mpris:
interface: mpris