commit: 92adf010eea88ffde8cc8fb7544578dc5405e47b Author: Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk> AuthorDate: Wed Oct 1 23:59:35 2014 +0000 Commit: David Heidelberger <d.okias <AT> gmail <DOT> com> CommitDate: Thu Oct 2 00:00:52 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=92adf010
media-libs/mesa: add VA-API support and fix VDPAU dep on gallium Signed-off-by: David Heidelberger <david.heidelberger <AT> ixit.cz> --- media-libs/mesa/mesa-9999.ebuild | 6 +++++- media-libs/mesa/metadata.xml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 5ce4546..f56daac 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -51,7 +51,7 @@ done IUSE="${IUSE_VIDEO_CARDS} bindist +classic debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm +nptl opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux - vdpau wayland xvmc xa kernel_FreeBSD" + vaapi vdpau wayland xvmc xa kernel_FreeBSD" REQUIRED_USE=" llvm? ( gallium ) @@ -66,6 +66,8 @@ REQUIRED_USE=" gles1? ( egl ) gles2? ( egl ) r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi video_cards_radeon ) ) + vaapi? ( gallium ) + vdpau? ( gallium ) wayland? ( egl gbm ) xa? ( gallium ) video_cards_freedreno? ( gallium ) @@ -125,6 +127,7 @@ RDEPEND=" dev-libs/libclc ) openmax? ( >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] ) + vaapi? ( >=x11-libs/libva-0.35.0:=[${MULTILIB_USEDEP}] ) vdpau? ( >=x11-libs/libvdpau-0.7:=[${MULTILIB_USEDEP}] ) wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] ) xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) @@ -257,6 +260,7 @@ multilib_src_configure() { $(use_enable openvg gallium-egl) $(use_enable openmax omx) $(use_enable r600-llvm-compiler) + $(use_enable vaapi va) $(use_enable vdpau) $(use_enable xa) $(use_enable xvmc) diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index 0a42e68..c8634ec 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -19,6 +19,7 @@ <flag name='pax_kernel'>Enable if the user plans to run the package under a pax enabled hardened kernel</flag> <flag name='pic'>disable optimized assembly code that is not PIC friendly</flag> <flag name='r600-llvm-compiler'>Build the LLVM based r600 shader compiler.</flag> + <flag name='vaapi'>Enable the VAAPI acceleration interface for the Gallium3D Video Layer.</flag> <flag name='vdpau'>Enable the VDPAU acceleration interface for the Gallium3D Video Layer.</flag> <flag name='wayland'>Enable support for dev-libs/wayland</flag> <flag name='xa'>Enable the XA (X Acceleration) API for Gallium3D.</flag>