Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122446 - mythtv-0.19-pre8624 disables xvmc with unichrome use flag
Summary: mythtv-0.19-pre8624 disables xvmc with unichrome use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-11 04:25 UTC by Alex Ainscow
Modified: 2006-02-11 17:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Ainscow 2006-02-11 04:25:46 UTC
When you compile mythtv-0.19-pre8624 with the unichrome USE flag, it runs configure with --disable-xvmc and --enable-xvmc-vld. The prior due to the lack of a "nvidia" use flag.

Unfortunately, this causes configure to disable all xvmc (including xvmc-vld). INterestingly configure is cablable of auto-detecting (due to the presense of XvMC libraries) whether it should be using XvMC-vld or not. So to fix it I added the two lines:


    use unichrome && myconf="${myconf} --enable-xvmc"
    use nvidia && myconf="${myconf} --enable-xvmc"

and took out the lines
$(use_enable nvidia xvmc)
$(use_enable unichrome xvmc-vld)

This seems to configure correctly now.

Cheers

-Alex
Comment 1 Alex Ainscow 2006-02-11 04:35:06 UTC
Not having particular experience in ebuilds, I am not sure this is a good fix. Thus I am not going to try and check it in myself. 

Cheers

-Alex
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-02-11 17:59:55 UTC
Fixed in mythtv-0.19