NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.18k stars 14.19k forks source link

Firefox: add aarch64 widevine support #338245

Open dxwil opened 2 months ago

dxwil commented 2 months ago

We recently pushed an update to widevine-cdm that enables support for aarch64. For chromium, the enableWideVine flag downloads the widevine-cdm package and enables it, therefore the changes for aarch64 widevine will work for chromium out of the box. Firefox however has a different approach to enabling widevine, when a user enables drm from withing FF, it download widevine from Google directly, but only x64 binaries, because Google only publishes those directly.

So what would the ideal system be to enable widevine on Firefox through the widevine-cdm package, that only thing in FF that needs to be done is MOZ_GMP_PATH needs to be set as well as a few preferences. Refer to this: https://gist.github.com/psanford/1f70a0838c308d28478cf27a9b55c43d?permalink_comment_id=5165332#gistcomment-5165332

dxwil commented 2 months ago

@RossComputerGuy could you ping the firefox maintainers, I don't know how to.

RossComputerGuy commented 2 months ago

CC @lovesegfault @mweinelt