www-client/vivaldi-3.4.2066.86_p1 complains on startup about proprietary video support, and prompts the user to run sudo /opt/vivaldi/update-ffmpeg or /opt/bin/update-ffmpeg --user to grab a 3rd party library.
After doing so, the browser will either crash within a few seconds, or refuse to reopen after being closed.
Running it under strace indicates that it's crashing with a bus fault shortly after reading the ffmpeg library it grabs.
Removing /var/opt/vivaldi/media-codecs-* or ~/.local/lib/vivaldi/media-codecs-* returns it to working status - although it continues to complain about proprietary video codec support since we just removed the support file it installed.
Not sure if this has anything to do with Gentoo or if it's a purely upstream issue.
Yeah, just don't do that, it's a bad idea.
I've only just taken on this package and I'm literally preparing some scripts for it right now. I hadn't noticed update-ffmpeg before but I think I'll just remove it entirely. I have long wanted proprietary codecs to work out of the box but the previous maintainer prevented that. Please wait while I make the relevant changes.
No rush, I don't use it much, just thought I'd post this issue in case others run into it :)
The bug has been referenced in the following commit(s):
Author: James Le Cuirot <firstname.lastname@example.org>
AuthorDate: 2020-11-20 22:07:02 +0000
Commit: James Le Cuirot <email@example.com>
CommitDate: 2020-11-20 22:21:08 +0000
www-client/vivaldi-snapshot: Add proprietary-codecs and widevine flags
This also removes the upstream "update" scripts that are most likely
to just break thing.
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: James Le Cuirot <firstname.lastname@example.org>
www-client/vivaldi-snapshot/metadata.xml | 4 ++++
.../vivaldi-snapshot-3.5.2110.3.ebuild | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)