If you try to build media-plugins/gst-plugins-vaapi with all USE disabled it fails with: >configure: error: No renderer is enabled Reproducible: Always
Created attachment 406450 [details] build.log
Also ebuild automagically dependends on drm backend of libva, i.e. x11-libs/libva[drm] and implies dependency on external media-libs/libvpx, but passes --enable-builtin-libvpx=no, with this option external libvpx isn't used and has use flags such as opengl, but unconditionally pulls this dependencies even if they're disabled So, in short: --- a/gst-plugins-vaapi-0.5.10.ebuild 2015-03-30 16:06:40.000000000 +0300 +++ b/gst-plugins-vaapi-0.5.10.ebuild 2015-08-06 04:51:17.000000000 +0300 @@ -13,20 +13,27 @@ LICENSE="LGPL-2.1" SLOT="1.0" KEYWORDS="~amd64" -IUSE="+X opengl wayland" +IUSE="drm +X opengl wayland" RDEPEND=" >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] - media-libs/libvpx[${MULTILIB_USEDEP}] >=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] >=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}] >=media-libs/gst-plugins-bad-1.2.3:1.0[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] - >=x11-libs/libva-1.4.0[X?,opengl?,wayland?,${MULTILIB_USEDEP}] - >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] - >=virtual/libudev-208:=[${MULTILIB_USEDEP}] + drm? ( + >=virtual/libudev-208:=[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] + ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + ) + >=x11-libs/libva-1.4.0[drm?,X?,opengl?,wayland?,${MULTILIB_USEDEP}] + opengl? ( + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + ) wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND} @@ -40,7 +47,7 @@ econf \ --enable-builtin-libvpx=no \ --disable-static \ - --enable-drm \ + $(use_enable drm) \ $(use_enable opengl glx) \ $(use_enable wayland) \ $(use_enable X x11)
done