Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529270 - media-video/vlc USE=vaapi should depend on x11-libs/libva[X]
Summary: media-video/vlc USE=vaapi should depend on x11-libs/libva[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paweł Stankowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 21:10 UTC by Jaroslav Rakhmatoullin
Modified: 2014-11-15 11:53 UTC (History)
2 users (show)

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


Attachments
configure detects a missing dep even though libva is installed (media-video:vlc-2.1.2:20141114-203718.log,25.62 KB, text/plain)
2014-11-14 21:10 UTC, Jaroslav Rakhmatoullin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Rakhmatoullin 2014-11-14 21:10:49 UTC
Created attachment 389330 [details]
configure detects a missing dep even though libva is installed

During the configuration stage, if x11-libs/libva is emerged without the X use flag, a missing dependency is detected;

checking for LIBVA... no
configure: error: No package 'libva-x11' found.

to solve the problem, enable X for x11-libs/libva, remerge,  and vlc will build.

This requirement should be specified in the ebuild. 

so instead of e.g

$ grep vaapi /usr/portage/media-video/vlc/vlc-2.1.2.ebuild -n

    144:		vaapi? ( x11-libs/libva:0 virtual/ffmpeg[vaapi] )

..the ebuild could specify something like:

    vaapi? ( x11-libs/libva[X]:0 virtual/ffmpeg[vaapi] )

I'm not sure about the correct syntax or if this is desirable in "all cases".

Thanks!
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2014-11-15 11:53:30 UTC
Backported https://github.com/gentoo/proxy-maintainers/commit/57c1b6c66e26cf2f7232c87ba1e5369e6a0c8183 to cvs

thanks