Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923305 - media-video/obs-studio-30.0.2: wayland marked as dependency for browser source but it works without wayland
Summary: media-video/obs-studio-30.0.2: wayland marked as dependency for browser sourc...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Chiitoo
Depends on:
Reported: 2024-01-30 08:19 UTC by tacokoneko
Modified: 2024-04-10 01:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (emerge.log,9.71 KB, text/x-log)
2024-01-30 08:20 UTC, tacokoneko
emerge -pqv obs-studio (emerge.log,276 bytes, text/x-log)
2024-01-30 08:23 UTC, tacokoneko
emerge obs-studio (emerge.log,630 bytes, text/x-log)
2024-01-30 08:29 UTC, tacokoneko
remove dependency on wayland (patch,425 bytes, patch)
2024-01-30 08:31 UTC, tacokoneko
Details | Diff
emerge obs-studio after patch (emerge.log,847.61 KB, text/x-log)
2024-01-30 08:34 UTC, tacokoneko

Note You need to log in before you can comment on or make changes to this bug.
Description tacokoneko 2024-01-30 08:19:25 UTC
I have been using OBS Studio's Browser Source without installing dev-libs/wayland for several months by editing the ebuild to remove dev-libs/wayland from the dependencies at line 86. I came here to find out whether there is a specific reason that wayland is marked as a dependency for the browser source, or it's not necessary.

Reproducible: Always

Steps to Reproduce:
1. put dev-libs/wayland in /etc/portage/package.mask and browser in USE
2. emerge obs-studio
Actual Results:  
All ebuilds that could satisfy "dev-libs/wayland" have been masked (dependency required by "media-video/obs-studio-30.0.2::gentoo[browser,-wayland]" [ebuild])

Expected Results:  
Emerging (1 of 1) media-video/obs-studio-30.0.2::gentoo

I am using Xorg
Comment 1 tacokoneko 2024-01-30 08:20:48 UTC
Created attachment 883678 [details]
emerge --info
Comment 2 tacokoneko 2024-01-30 08:23:13 UTC
Created attachment 883679 [details]
emerge -pqv obs-studio
Comment 3 tacokoneko 2024-01-30 08:29:42 UTC
Created attachment 883680 [details]
emerge obs-studio
Comment 4 tacokoneko 2024-01-30 08:31:30 UTC
Created attachment 883684 [details, diff]
remove dependency on wayland
Comment 5 tacokoneko 2024-01-30 08:34:22 UTC
Created attachment 883685 [details]
emerge obs-studio after patch
Comment 6 Chiitoo gentoo-dev 2024-01-30 10:07:36 UTC
That is a good question.

I can not remember why I added it back in November 2022 [1], and I also do not see it being required now.

Will look into changing that dependency.

Thank you!

Comment 7 Chiitoo gentoo-dev 2024-04-02 21:23:20 UTC
Looking into this again, it seems there is some automagic going, where the pre-built


is installed when building with USE="browser", and it will link to


so it's not entirely safe to simply yank out from everyone.

Will need to look into it a bit more.
Comment 8 tacokoneko 2024-04-10 01:16:20 UTC
OK good to hear, thank you for checking for me. It's not that big of a problem since I can make a local script just for myself to automatically remove the wayland dependency lines after every sync - games-util/heroic-bin has the same situation (depends on wayland but still works when the dependency is removed)