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!
Backported https://github.com/gentoo/proxy-maintainers/commit/57c1b6c66e26cf2f7232c87ba1e5369e6a0c8183 to cvs thanks