Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 317317

Summary: New ebuild: x11-lib/libva-vdpau, VDPAU backend for libva
Product: Gentoo Linux Reporter: Frank Richter <res>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: media-video
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.freedesktop.org/wiki/Software/vaapi
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 308871    
Bug Blocks: 317319    
Attachments: Proposed ebuild

Description Frank Richter 2010-04-26 15:12:40 UTC
This ebuild provides the VDPAU backend for libva.

Reproducible: Always
Comment 1 Frank Richter 2010-04-26 15:13:19 UTC
Created attachment 229255 [details]
Proposed ebuild
Comment 2 Olivier Huber 2010-04-28 02:12:46 UTC
(In reply to comment #1)
> Created an attachment (id=229255) [details]
> Proposed ebuild

I think you have to depend on some that provides vdpau (I think
this is x11-drivers/nvidia-drivers). For opengl, you have to depend on virtual/opengl. There's also a --enable-tracer switch. Maybe it is
useful to add a use flag for it (I suppose it has something to do with
debugging, so maybe not everybody want it installed, so it's your call)

Comment 3 Alexis Ballier gentoo-dev 2010-05-11 09:30:00 UTC
added, thanks

under x11-libs/vdpau-video, i dont understand why you wanted to change the name
Comment 4 Rodrigo Saboya 2010-05-11 19:30:49 UTC
No ~x86 support?
Comment 5 Frank Richter 2010-05-12 14:50:02 UTC
(In reply to comment #3)
> under x11-libs/vdpau-video, i dont understand why you wanted to change the name

“vdpau-video” is pretty much a plugin to libva (vdpau-video depends on libva, while at the same time client apps don't use it directly but through libva). Thus I though “libva-vdpau” is much clearer to that respect - “vdpau-video” doesn't really say much as a name.
Comment 6 Frank Richter 2010-05-12 14:55:52 UTC
(In reply to comment #2)
> I think you have to depend on some that provides vdpau (I think
> this is x11-drivers/nvidia-drivers).

Actually, vdpau-video asks the display driver for the name of a shared library. So if the user uses a driver that supports VDPAU, it should just work. Otherwise no VDPAU. So it's up to the user to choose a proper driver.
And, conceivably, the vdpau use flag could be set without the user having capable hardware/wishing to use a driver providing it (eg if only proprietary drivers do). What good would be a dependency then? Would just pull in a driver that's not needed or wanted or used.