Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941113 - >=media-video/obs-studio-30.2.3 incorrect RDEPEND
Summary: >=media-video/obs-studio-30.2.3 incorrect RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-07 11:30 UTC by Gerald Raaf
Modified: 2025-02-11 20:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Raaf 2024-10-07 11:30:04 UTC
Wrong rdepend in ebuild obs-studio-30.2.3.ebuild.

Reproducible: Always

Steps to Reproduce:
1. always
2.
3.



qsv depends on libvpl thats correct thats the dispatcher. 
qsv rdepends for media-libs/intel-mediasdk -> this software is archived on github and is for older intel cpu's,
for newer cpu's it should be media-libs/oneVPL-intel-gpu as you can read in the libvpl readme on guithub.

Correct rdepend should be
RDEPEND="${DEPEND}
	qsv? (
	    || (
		media-libs/intel-mediasdk
		media-libs/oneVPL-intel-gpu
	    )
	)
"
Comment 1 Gerald Raaf 2025-01-10 09:52:44 UTC
as mentioned in gentoo's libvpl ebuild there are 3 implementations you can use with the libvpl dispatcher, these are

media-libs/oneVPL-cpu     -> doesn't support qsv
media-libs/intel-mediasdk -> has qsv support i use it on my n6005 cpu (jasper lake family)
media-libs/vpl-gpu-rt     -> has qsv support i use it on my i5-14500 cpu (raptor-lake familiy)

on my old system (motherboard cpu and psu where killed by electronic short-circuit) with a rocket-lake cpu (i5-11400) only vpl-gpu-rt works.

Correct rdepend should be
RDEPEND="${DEPEND}
	qsv? (
	    || (
		media-libs/intel-mediasdk
		media-libs/vpl-gpu-rt
	    )
	)
"
Comment 2 Larry the Git Cow gentoo-dev 2025-01-16 23:05:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2105797b7f0d7861f94d0c003ca890620f0dd8b3

commit 2105797b7f0d7861f94d0c003ca890620f0dd8b3
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2025-01-16 23:02:39 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2025-01-16 23:04:44 +0000

    media-video/obs-studio: update 'qsv' dependencies on 9999
    
    Bug: https://bugs.gentoo.org/941113
    Bug: https://bugs.gentoo.org/946540
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 media-video/obs-studio/obs-studio-9999.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Comment 3 Chiitoo gentoo-dev 2025-02-11 16:37:16 UTC
After some pondering, with

https://bugs.gentoo.org/946540

also in mind, I'm thinking of dropping the 'RDEPEND' completely, since 'libvpl' itself merely mentions the implementations via 'optfeature', and it feels perhaps a bit weird to control them via 'obs-studio', but could certainly add 'optfeature' there too.

With 'obs-studio' in mind specifically, these things should probably be documented on our wiki article [1].

1. https://wiki.gentoo.org/wiki/OBS_Studio
Comment 4 Larry the Git Cow gentoo-dev 2025-02-11 20:25:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c84d85e7da69b7fdf36951c79fe0c63fa3ba13

commit 64c84d85e7da69b7fdf36951c79fe0c63fa3ba13
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2025-02-11 15:20:33 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2025-02-11 20:25:05 +0000

    media-video/obs-studio: add 31.0.1
    
    Closes: https://bugs.gentoo.org/941113
    Closes: https://bugs.gentoo.org/946540
    Closes: https://bugs.gentoo.org/949591
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 media-video/obs-studio/Manifest                 |   1 +
 media-video/obs-studio/obs-studio-31.0.1.ebuild | 275 ++++++++++++++++++++++++
 2 files changed, 276 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=664afd951fc292f93c2a9af48c55ab877ed62c79

commit 664afd951fc292f93c2a9af48c55ab877ed62c79
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2025-02-11 20:12:25 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2025-02-11 20:24:59 +0000

    media-video/obs-studio: adjust USE="qsv" dependencies
    
    This removes the different 'qsv' implementations (one of which seems to have
    been renamed even) from 'RDEPEND', because it doesn't feel that great to handle
    those via this package.
    
    Will certainly re-visit this if it starts to make more sense.
    
    Bug: https://bugs.gentoo.org/941113
    Bug: https://bugs.gentoo.org/946540
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 media-video/obs-studio/obs-studio-9999.ebuild | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)