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
Created attachment 883678 [details] emerge --info
Created attachment 883679 [details] emerge -pqv obs-studio
Created attachment 883680 [details] emerge obs-studio
Created attachment 883684 [details, diff] remove dependency on wayland
Created attachment 883685 [details] emerge obs-studio after patch
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! 1. https://gitweb.gentoo.org/repo/gentoo.git/commit/media-video/obs-studio?id=3193b29379d
Looking into this again, it seems there is some automagic going, where the pre-built /usr/lib64/obs-plugins/libGLESv2.so is installed when building with USE="browser", and it will link to /usr/lib64/libwayland-client.so.0 so it's not entirely safe to simply yank out from everyone. Will need to look into it a bit more.
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)
Any update on this ? I have the same issue for 31.0.3 and I also just manually removed the wayland dep and it works fine (both build and runtime).
Oh I had missed the last comment, but /usr/lib64/obs-plugins/libGLESv2.so no longer points to wayland-client
Indeed, looks like something changed there. Will look into it more soon. Thanks for the heads-up!