1 |
commit: 92adf010eea88ffde8cc8fb7544578dc5405e47b |
2 |
Author: Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk> |
3 |
AuthorDate: Wed Oct 1 23:59:35 2014 +0000 |
4 |
Commit: David Heidelberger <d.okias <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Oct 2 00:00:52 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=92adf010 |
7 |
|
8 |
media-libs/mesa: add VA-API support and fix VDPAU dep on gallium |
9 |
|
10 |
Signed-off-by: David Heidelberger <david.heidelberger <AT> ixit.cz> |
11 |
|
12 |
--- |
13 |
media-libs/mesa/mesa-9999.ebuild | 6 +++++- |
14 |
media-libs/mesa/metadata.xml | 1 + |
15 |
2 files changed, 6 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild |
18 |
index 5ce4546..f56daac 100644 |
19 |
--- a/media-libs/mesa/mesa-9999.ebuild |
20 |
+++ b/media-libs/mesa/mesa-9999.ebuild |
21 |
@@ -51,7 +51,7 @@ done |
22 |
IUSE="${IUSE_VIDEO_CARDS} |
23 |
bindist +classic debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm +nptl |
24 |
opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux |
25 |
- vdpau wayland xvmc xa kernel_FreeBSD" |
26 |
+ vaapi vdpau wayland xvmc xa kernel_FreeBSD" |
27 |
|
28 |
REQUIRED_USE=" |
29 |
llvm? ( gallium ) |
30 |
@@ -66,6 +66,8 @@ REQUIRED_USE=" |
31 |
gles1? ( egl ) |
32 |
gles2? ( egl ) |
33 |
r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi video_cards_radeon ) ) |
34 |
+ vaapi? ( gallium ) |
35 |
+ vdpau? ( gallium ) |
36 |
wayland? ( egl gbm ) |
37 |
xa? ( gallium ) |
38 |
video_cards_freedreno? ( gallium ) |
39 |
@@ -125,6 +127,7 @@ RDEPEND=" |
40 |
dev-libs/libclc |
41 |
) |
42 |
openmax? ( >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] ) |
43 |
+ vaapi? ( >=x11-libs/libva-0.35.0:=[${MULTILIB_USEDEP}] ) |
44 |
vdpau? ( >=x11-libs/libvdpau-0.7:=[${MULTILIB_USEDEP}] ) |
45 |
wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] ) |
46 |
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) |
47 |
@@ -257,6 +260,7 @@ multilib_src_configure() { |
48 |
$(use_enable openvg gallium-egl) |
49 |
$(use_enable openmax omx) |
50 |
$(use_enable r600-llvm-compiler) |
51 |
+ $(use_enable vaapi va) |
52 |
$(use_enable vdpau) |
53 |
$(use_enable xa) |
54 |
$(use_enable xvmc) |
55 |
|
56 |
diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml |
57 |
index 0a42e68..c8634ec 100644 |
58 |
--- a/media-libs/mesa/metadata.xml |
59 |
+++ b/media-libs/mesa/metadata.xml |
60 |
@@ -19,6 +19,7 @@ |
61 |
<flag name='pax_kernel'>Enable if the user plans to run the package under a pax enabled hardened kernel</flag> |
62 |
<flag name='pic'>disable optimized assembly code that is not PIC friendly</flag> |
63 |
<flag name='r600-llvm-compiler'>Build the LLVM based r600 shader compiler.</flag> |
64 |
+ <flag name='vaapi'>Enable the VAAPI acceleration interface for the Gallium3D Video Layer.</flag> |
65 |
<flag name='vdpau'>Enable the VDPAU acceleration interface for the Gallium3D Video Layer.</flag> |
66 |
<flag name='wayland'>Enable support for dev-libs/wayland</flag> |
67 |
<flag name='xa'>Enable the XA (X Acceleration) API for Gallium3D.</flag> |