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

Bug 122187

Summary: xine-lib ebuilds don't support libviaXvMCPro
Product: Gentoo Linux Reporter: Tim Dodge <timmy>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Dodge 2006-02-08 15:51:38 UTC
I'm having problems with xine-lib-1.1.1-r4.ebuild and my CN400 based Via chipset.

I have "via" set in VIDEO_CARDS, so that the modular xorg via driver and unchrome_dri.so get built correctly.

However, xine-lib-1.1.1-r4.ebuild links against libviaXvMC rather than libviaXvMCPro.

I guess it wouldn't be so bad if it didn't use VIDEO_CARDS to work out which library to link against, as it would then just use libXVMCW...

I'm having to use a hacked version in an overlay at the moment, which isn't ideal.

Thanks.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-09 02:01:20 UTC
You should be able to set with package.use to disable VIDEO_CARDS support (and then link against libXvMCW). The problem with unichrome driver is that it's not present in stable version of xorg. When 7.0 will be stable, xine-lib will simply use always libXvMCW, in the mean time, unichrome also had some problems and I preferred to avoid it.
Comment 2 Tim Dodge 2006-02-09 05:55:53 UTC
How do you disable VIDEO_CARDS using package.use?

I've read the man page, searched the forums, googled and tried a few alternatives,  but the only way I can do it is:

VIDEO_CARDS="" emerge media-libs/xine-lib
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-09 06:07:49 UTC
IIRC what Jason said at that time, you can treat them as useflags, so put -video_cards_via there and should be it