please add a 'virtualcam' use-flag, that adds 'media-video/v4l2loopback' as dependency[1]. Or at least print a post installation message, that installing 'media-video/v4l2loopback' is required [1] to use the virtual cam feature in obs studio. [1] https://obsproject.com/eu/kb/virtual-camera-troubleshooting Reproducible: Always
Thinking about this now, I thought I did already do something about it, but I guess I forgot. I did think of a USE-flag or even unconditional dependency on it, but being a kernel module it's a bit more complicated, so it will likely be a message of sorts. Thanks for the reminder!
I would strongly prefer a use-falg, since this way portage knows the dependencies between the packages. If you later uninstall obs-studio, portage would remove the no longer needed dependencies with an 'emerge -c'. If I manually install dependencies based on a post installation message, they are added to the world file and remain on my system even if obs-studio is uninstalled or the package is no longer required in a later version of obs-studio.
(In reply to Christian Strahl from comment #2) > I would strongly prefer a use-falg, since this way portage knows the > dependencies between the packages. > > If you later uninstall obs-studio, portage would remove the no longer needed > dependencies with an 'emerge -c'. > > If I manually install dependencies based on a post installation message, > they are added to the world file and remain on my system even if obs-studio > is uninstalled or the package is no longer required in a later version of > obs-studio. We have a policy against that though, https://projects.gentoo.org/qa/policy-guide/dependencies.html#pg0001 You can use portage sets where you can comment stuff. Like /etc/portage/sets/optfeature # obs-studio, virtual cam support media-video/v4l2loopback
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3193b29379dcfa2a889a9ad600059df73e749e0d commit 3193b29379dcfa2a889a9ad600059df73e749e0d Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2022-11-02 05:19:03 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2022-11-08 16:16:54 +0000 media-video/obs-studio: add USE="qt6 websocket" and python 3.11 + more - Add support for qt6, websocket plugin, and python 3.11. - Update browser related hashes. - Adjust dependencies. - Remove dependency on 'qtx11extras' which was removed upstream a good while ago (thanks-to: マリウス <marius@xn--gckvb8fzb.com>). Also add an 'optfeature' and an elog message regarding the virtual camera feature, and enable 'VST' by default since it's no longer a submodule, and doesn't seem to increase the size of things much at all. Lastly, adjust some of the existing elog message wording. Bug: https://bugs.gentoo.org/876971 Thanks-to: Ionen Wolkens <ionen@gentoo.org> Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> media-video/obs-studio/Manifest | 1 + media-video/obs-studio/metadata.xml | 1 + media-video/obs-studio/obs-studio-9999.ebuild | 111 +++++++++++++++++++------- 3 files changed, 84 insertions(+), 29 deletions(-)
Considering the policy, and sets mentioned in comment 3, I'll be closing this off for now. There is at least that post-install message now, though I admit they probably go unnoticed for many users... In any case, thank you for the report!