1 |
commit: 5caef71d115a5b838d3b02bc9b7496d3890787b2 |
2 |
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 1 22:43:44 2011 +0000 |
4 |
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de> |
5 |
CommitDate: Mon Aug 1 22:43:44 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=5caef71d |
7 |
|
8 |
media-libs/mesa: sync with portage |
9 |
|
10 |
--- |
11 |
media-libs/mesa/mesa-9999.ebuild | 6 ++++-- |
12 |
media-libs/mesa/metadata.xml | 1 + |
13 |
2 files changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild |
16 |
index 7e447a1..cda6a88 100644 |
17 |
--- a/media-libs/mesa/mesa-9999.ebuild |
18 |
+++ b/media-libs/mesa/mesa-9999.ebuild |
19 |
@@ -45,7 +45,7 @@ for card in ${VIDEO_CARDS}; do |
20 |
done |
21 |
|
22 |
IUSE="${IUSE_VIDEO_CARDS} |
23 |
- bindist +classic d3d debug +egl g3dvl +gallium gles +llvm motif +nptl openvg pic selinux shared-dricore +shared-glapi vdpau wayland xvmc kernel_FreeBSD" |
24 |
+ bindist +classic d3d debug +egl g3dvl +gallium gbm gles +llvm motif +nptl openvg pic selinux shared-dricore +shared-glapi vdpau wayland xvmc kernel_FreeBSD" |
25 |
|
26 |
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.24" |
27 |
# not a runtime dependency of this package, but dependency of packages which |
28 |
@@ -63,6 +63,7 @@ RDEPEND="${EXTERNAL_DEPEND} |
29 |
gallium? ( app-admin/eselect-mesa ) |
30 |
>=app-admin/eselect-opengl-1.2.2 |
31 |
dev-libs/expat |
32 |
+ gbm? ( sys-fs/udev ) |
33 |
x11-libs/libICE |
34 |
>=x11-libs/libX11-1.3.99.901 |
35 |
x11-libs/libXdamage |
36 |
@@ -221,7 +222,7 @@ src_configure() { |
37 |
if use egl; then |
38 |
use shared-glapi || die "egl needs shared-glapi. Please either enable shared-glapi or disable the egl use flag ." |
39 |
myconf+=" |
40 |
- --with-egl-platforms=x11,$(use wayland && echo "wayland,")drm |
41 |
+ --with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm") |
42 |
$(use_enable gallium gallium-egl) |
43 |
" |
44 |
fi |
45 |
@@ -274,6 +275,7 @@ src_configure() { |
46 |
--enable-xcb \ |
47 |
$(use_enable debug) \ |
48 |
$(use_enable g3dvl) \ |
49 |
+ $(use_enable gbm) \ |
50 |
$(use_enable motif glw) \ |
51 |
$(use_enable motif) \ |
52 |
$(use_enable nptl glx-tls) \ |
53 |
|
54 |
diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml |
55 |
index 430cbe5..34bed90 100644 |
56 |
--- a/media-libs/mesa/metadata.xml |
57 |
+++ b/media-libs/mesa/metadata.xml |
58 |
@@ -8,6 +8,7 @@ |
59 |
<flag name='egl'>Enable EGL support for Gallium3D.</flag> |
60 |
<flag name='gallium'>Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag> |
61 |
<flag name='g3dvl'>Enable video decode acceleration support for Gallium3D.</flag> |
62 |
+ <flag name='gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</flag> |
63 |
<flag name='gles'>Enable GLES support for Gallium3D.</flag> |
64 |
<flag name='llvm'>Enable LLVM backend for Gallium3D.</flag> |
65 |
<flag name='openvg'>Enable the OpenVG 2D acceleration API</flag> |