Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 814443

Summary: www-client/chromium-94 allow to build with system-ffmpeg
Product: Gentoo Linux Reporter: Marcin Deranek <marcin.deranek>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/archlinux/svntogit-packages/blob/packages/chromium/trunk/chromium-94-ffmpeg-roll.patch
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for system-ffmpeg in chromium-94

Description Marcin Deranek 2021-09-23 06:48:33 UTC
Currently system-ffmpeg use flag is masked for www-client/chromium-94 as it's not possible to build it using system ffmpeg. It's possible to build chromium-94 with system ffmpeg using https://github.com/archlinux/svntogit-packages/blob/packages/chromium/trunk/chromium-94-ffmpeg-roll.patch patch *reverted* eg. eapply -R patch. Patch is borrowed from Arch folks, but I came to similar after investigating the problem.

Reproducible: Always
Comment 1 Marcin Deranek 2021-09-23 06:50:51 UTC
Created attachment 740799 [details, diff]
Patch for system-ffmpeg in chromium-94

Patch has to be reverted to allow building chromium-94 with system ffmpeg.
Comment 2 Stephan Hartmann (RETIRED) gentoo-dev 2021-09-23 12:34:40 UTC
That only works as long as you haven't installed media-video/ffmpeg-9999, because first_dts was moved to internal API:
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/591b88e6787

You can unmask system-ffmpeg and apply the patch locally, but we won't add it to the tree.