The VLC 'configure' has an option '--enable-pvr' to add support for playback and streaming from Hauppauge PVR cards. As we already have an ivtv USE flag it seems a pitty not to use it.
Created attachment 107850 [details] ebuils using ivtv USE flag Only tested on AMD64 with PVR-350 and ivtv-0.9.1, but I expect it works generally.
Submit unified diffs _not_ new ebuilds.
Created attachment 107887 [details, diff] ebuild diff Sorry, here is the diff. My morning coffee also tells me I should have probably have added ivtv to RDEPEND!
Created attachment 109120 [details, diff] ebuild patch for vlc-0.8.6 It is not that simple. The dvb flag also sets the pvr flag but I am not sure why? Attached is my attempt which probably can be done simpler but I do not know how. There us also a bug in enabling live support where it overwrites $myconf instead of appending.
Thanks Sander for pointing that the workaround for live overwrites myconf, it's fixed now. I don't understand why you want to add all those lines to the ebuild : why not adding a ivtv useflag that would depend on ivtv and just use $(use_enable ivtv pvr) ? I suppose that ivtv cannot work without dvb, but imho it's safe to assume that a user that wants to support a special dvb card wants also to support dvb ;)
(In reply to comment #5) > I don't understand why you want to add all those lines to the ebuild : > why not adding a ivtv useflag that would depend on ivtv and just use > $(use_enable ivtv pvr) ? Hmm looking back now I do not know anymore why I did this.... Maybe because dvb also enables pvr support, but why. Anyway, the first patch + RDEPEND on ivtv looks way better then my attempt now so please ignore it ;-)
so, pvr is already enabled when dvb useflag is set and we cannot depend on ivtv since vlc has much more keywords than ivtv; we get bad dependencies by doing that (even if this can be sorted out, this seems pointless to me to depend on a kernel driver). closing as invalid as you just need to enable dvb to get support for hauppage pvr. Feel free to reopen or ask for this to be reopenned if I misunderstood something there.