SLOT="1.0"
KEYWORDS="~amd64 ~x86"
-IUSE="+drm opengl wayland +X"
+IUSE="+drm egl opengl wayland +X"
REQUIRED_USE="|| ( drm opengl wayland X )"
RDEPEND="
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}] )
+ egl? (
+ >=media-libs/gst-plugins-bad-${PV}:1.0[opengl,${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}] )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
ECONF_SOURCE=${S} \
econf \
--disable-static \
- --enable-egl \
$(use_enable drm) \
+ $(use_enable egl) \
$(use_enable opengl glx) \
$(use_enable wayland) \
$(use_enable X x11)