Repository navigation
widevine: ship the patched CDM in the package, as Omarchy 4.5 does - #3077
Merged
Merged
Conversation
Build Google's CDM from the pinned Lacros image at package time, as asahi-alarm's recipe does, so Widevine works on first boot with no prompt. The library is staged in /usr/lib/widevine and the scriptlet installs it at asahi-alarm's /opt paths, so upgrades over a library that -2 or -3 fetched there unowned don't conflict. Drops widevine-fetch. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
ryanrhughes
enabled auto-merge (squash)
November 19, 2026 09:08
[Medium impact] The PR appears safe to merge; the stated M2 playback check should still happen before release. SummaryBundles the patched Widevine library so Chromium and Firefox can use DRM without a separate download or prompt.
No actionable issues found. Playback on an M2 remains a stated manual test before release. Reviews (1) · Last reviewed commit: "widevine: ship the patched CDM in the pa..." · Reviewed by Greptile |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Widevine works on first boot again, with no prompt, the way asahi-alarm's
widevinedoes on Omarchy 4.5. The owner chose 4.5's behaviour over the consent-only fetch from #3007.What changes
_lacros_sha256). It patches it withwidevine_fixup.py, as asahi-alarm's recipe does. The Chromium manifest and link, the Firefox GMP directory, prefs andprofile.dscript are asahi-alarm's./usr/lib/widevine/libwidevinecdm.so. The scriptlet installs it at asahi-alarm's/opt/WidevineCdm/.../linux_arm64/path, adds thelinux_x64placeholder, and links Firefox's GMP directory.omarchy-updateonly overwrites/usr/share/omarchy/*, so owning it would make pacman refuse the upgrade on those Macs.widevine-fetchis gone.WidevineCdm/LICENSEand the fixup's MIT licence.Same
pkgver,pkgrel4. The upstream watch is unchanged: it still reads asahi-alarm's Lacros pin.Test
pkgbuilds/widevine/test.shpasses in an Arch container. It covers:/optlibrary paths aren't package-owned;