A recent change to make net-im/telegram-desktop to depend on >=media-video/ffmpeg-6 prevents having some other packages like sci-libs/opencascade[ffmpeg] installed at the same time. Reproducible: Always Steps to Reproduce: 1. Attempt to emerge net-im/telegram desktop Actual Results: Receive dependency conflicts if packages that require =ffmpeg-4* are installed Expected Results: net-im/telegram desktop will emerge without errors I have created a patch to fix this and it is already merged upstream: https://github.com/telegramdesktop/tdesktop/pull/28999
Created attachment 919853 [details, diff] This patch fixes building with ffmpeg-4.x and is already merged upstream This patch could be added to the telegram-desktop ebuilds that don't get the upstream change.
You do not need sci-libs/opencascade[ffmpeg].
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ffbd9835a61a06269c191918e0c3a33ec02ec70 commit 0ffbd9835a61a06269c191918e0c3a33ec02ec70 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2025-02-24 20:54:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-24 21:18:56 +0000 sci-libs/opencascade: Mask ffmpeg use-flag as it's 4.x only Only builds with ffmpeg-4.x, upstream has no timeline to fix it. Fringe usage only to play audio. Which most consumers (freecad, vtk) don't do. Mask so the unsuspecting user with ffmpeg in global USE isn't restricted to ancient ffmpeg. Bug: https://bugs.gentoo.org/834422 Bug: https://bugs.gentoo.org/950241 See-Also: https://tracker.dev.opencascade.org/view.php?id=32871 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40739 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 8 ++++++++ 1 file changed, 8 insertions(+)