Summary: | media-video/mpv-0.32.0 doesn't have a runtime use flag for youtube-dl urls | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Schultz <mattsch> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matthew Schultz
2020-04-08 14:11:20 UTC
Introducing a use flag would result in needless rebuilds from users without any benifit as this flag not gonna affect anything but pull a dependency. (In reply to Mikle Kolyada from comment #1) > Introducing a use flag would result in needless rebuilds from users without > any benifit as this flag not gonna affect anything but pull a dependency. I don't understand how a runtime error is better. I got the error when trying to play a stream and it was not obvious what to do. I thought it was a bug at first. Wouldn't it be better to have it documented as a feature in a useflag instead of having to read the mpv ebuild to determine that you need to manually pull in that runtime dependency? (In reply to Matthew Schultz from comment #2) > (In reply to Mikle Kolyada from comment #1) > > Introducing a use flag would result in needless rebuilds from users without > > any benifit as this flag not gonna affect anything but pull a dependency. > > Wouldn't it be better to have it documented as a feature in > a useflag instead of having to read the mpv ebuild to determine that you > need to manually pull in that runtime dependency? No, because youtube-dl does not change the installation binary, you will have to rebuild mpv just because you installed youtube-dl, if you install youtube-dl manually the impact is the same, but you do not have to rebuild mpv due to depgraph changes. (In reply to Mikle Kolyada from comment #3) > (In reply to Matthew Schultz from comment #2) > > (In reply to Mikle Kolyada from comment #1) > > > Introducing a use flag would result in needless rebuilds from users without > > > any benifit as this flag not gonna affect anything but pull a dependency. > > > > Wouldn't it be better to have it documented as a feature in > > a useflag instead of having to read the mpv ebuild to determine that you > > need to manually pull in that runtime dependency? > > No, because youtube-dl does not change the installation binary, you will > have to rebuild mpv just because you installed youtube-dl, if you install > youtube-dl manually the impact is the same, but you do not have to rebuild > mpv due to depgraph changes. Point taken. It's too bad portage doesn't have the ability to provide a useflag dependency but not require a rebuild. |