commit: 8bacae5526950f160bd95f0b54a7979d89af2343 Author: Matt Turner <mattst88 <AT> gmail <DOT> com> AuthorDate: Thu Mar 13 23:24:33 2014 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Mar 13 23:24:33 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=8bacae55
media-libs/mesa: Add DRI3 USE flag, bug #504356. --- media-libs/mesa/mesa-9999.ebuild | 10 +++++++--- media-libs/mesa/metadata.xml | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 03f7a43..a5f8fc0 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -49,7 +49,7 @@ for card in ${VIDEO_CARDS}; do done IUSE="${IUSE_VIDEO_CARDS} - bindist +classic debug +egl +gallium gbm gles1 gles2 +llvm +nptl + bindist +classic debug dri3 +egl +gallium gbm gles1 gles2 +llvm +nptl +llvm-shared-libs opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux vdpau wayland xvmc xa kernel_FreeBSD" @@ -96,6 +96,7 @@ RDEPEND=" >=app-admin/eselect-opengl-1.2.7 dev-libs/expat[${MULTILIB_USEDEP}] gbm? ( virtual/udev[${MULTILIB_USEDEP}] ) + dri3? ( virtual/udev[${MULTILIB_USEDEP}] ) >=x11-libs/libX11-1.3.99.901[${MULTILIB_USEDEP}] >=x11-libs/libxshmfence-1.1[${MULTILIB_USEDEP}] x11-libs/libXdamage[${MULTILIB_USEDEP}] @@ -156,8 +157,10 @@ DEPEND="${RDEPEND} sys-devel/flex virtual/pkgconfig >=x11-proto/dri2proto-2.6[${MULTILIB_USEDEP}] - >=x11-proto/dri3proto-1.0[${MULTILIB_USEDEP}] - >=x11-proto/presentproto-1.0[${MULTILIB_USEDEP}] + dri3? ( + >=x11-proto/dri3proto-1.0[${MULTILIB_USEDEP}] + >=x11-proto/presentproto-1.0[${MULTILIB_USEDEP}] + ) >=x11-proto/glproto-1.4.15-r1[${MULTILIB_USEDEP}] >=x11-proto/xextproto-7.0.99.1[${MULTILIB_USEDEP}] x11-proto/xf86driproto[${MULTILIB_USEDEP}] @@ -314,6 +317,7 @@ multilib_src_configure() { --enable-shared-glapi \ $(use_enable !bindist texture-float) \ $(use_enable debug) \ + $(use_enable dri3) \ $(use_enable egl) \ $(use_enable gbm) \ $(use_enable gles1) \ diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index 73570a9..0a42e68 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -6,6 +6,7 @@ <flag name='bindist'>Disable patent-encumbered ARB_texture_float, EXT_texture_shared_exponent, and EXT_packed_float extensions.</flag> <flag name='classic'>Build drivers based on the classic architecture.</flag> <flag name='egl'>Enable EGL support.</flag> + <flag name='dri3'>Enable DRI3 support.</flag> <flag name='gallium'>Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag> <flag name='gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</flag> <flag name='gles1'>Enable GLESv1 support.</flag>