Summary: | media-video/obs-studio: add 'virtualcam' use-flag for optional dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Strahl <c.a.strahl> |
Component: | Current packages | Assignee: | Chiitoo <chiitoo> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | jstein, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/28094 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christian Strahl
2022-10-13 11:46:41 UTC
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(-) |