I’m trying to build Vivaldi into a flatpak but I’m running into some issues with libffmpeg.so and libwdievine.so
When I try to run the browser it works fine besides playing test videos that contain DRM / mp4 because they need either one of the libraries mentioned above.
For widevine I get this in the output of the application:
[171:72:0516/114344.256416:ERROR:cdm_module.cc(139)] CDM at /var/home/…/.var/app/org.vivaldi.browser/config/vivaldi-beta/WidevineCdm/4.10.2209.0/_platform_specific/linux_x64/libwidevinecdm.so could not be loaded.
[171:72:0516/114344.257907:ERROR:cdm_module.cc(140)] Error: /var/home/…var/app/org.vivaldi.browser/config/vivaldi-beta/WidevineCdm/4.10.2209.0/_platform_specific/linux_x64/libwidevinecdm.so: cannot open shared object file: Operation not permitted
For libffmpeg.so, as was said in the request for this to be flatpacked it requries LD_PRELOAD and the path to the library appended to it. Can this work with the current implementation of zypak?
I also tried to use the add-build-extensions to include the org.freedesktop.Platform.ffmpeg-full but I don’t believe the libffmpeg.so is included in that.
Any help on these two would be great. The YAML file I wrote is really ugly so I"m sort of bashful on sharing it but I can if that is needed.