I have tried to install media-tv/mtvg-6.2.18 and it would like to add next 28 packeges into my system. I don't want to add all this packages, because I don't use xmltv scripts to get the channel list into my computer (I use non official scripts). For this case it would be better to add an use flag, something like "no-xmltv" and don't add dependencie on xmltv.
Created attachment 100383 [details, diff] xmltv patch Patch which add xmltv USE flag.
There is no point in listing optional runtime depedencies, adding yet another superfluous use flag. Either keep it as non-optional dependency, if this makes sense or remove it at all, maybe with an elog line instead. As this seems to be an kde app, use kde_src_install(), not emake... Also you have to call kde_pkg_postinst, when you override it.
(In reply to comment #0) > I have tried to install media-tv/mtvg-6.2.18 and it would like to add next 28 > packeges into my system. I don't want to add all this packages, because I don't > use xmltv scripts to get the channel list into my computer (I use non official > scripts). For this case it would be better to add an use flag, something like > "no-xmltv" and don't add dependencie on xmltv. > Just add xmltv to package.provided, and you'll be fine. :)
(In reply to comment #2) > or remove it at all, maybe with an elog line instead. I vote for remove the xmltv dependencie.
xmltv is a *runtime* dependency, so I'm not going to fix it. The startup screen talks about how to use XML TV to pull in the listings. The preferences asks for your XMLTV listings.xml. If you're not going to use XMLTV, that's fine -- put it in package.provided, and it won't be installed. But since this package is designed to work with XMLTV, that's how it will be emerged as well.
After giving it more thought, you are right. It's actually not a real runtime dep since it will function without XMLTV just fine, even though it can call the binary and it does use the output files. So, I added it as a USE flag dep for 'xml'.
And changes committed to CVS, thanks Jiri