From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-367994-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Qo1D3-000162-7t
	for garchives@archives.gentoo.org; Mon, 01 Aug 2011 22:43:41 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 33E5921C06D;
	Mon,  1 Aug 2011 22:43:33 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id E5F7321C06D
	for <gentoo-commits@lists.gentoo.org>; Mon,  1 Aug 2011 22:43:32 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F32BC1BC011
	for <gentoo-commits@lists.gentoo.org>; Mon,  1 Aug 2011 22:43:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id F3DF03C004
	for <gentoo-commits@lists.gentoo.org>; Mon,  1 Aug 2011 22:43:30 +0000 (UTC)
From: "Chi-Thanh Christopher Nguyen" <chithanh@cs.tu-berlin.de>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Chi-Thanh Christopher Nguyen" <chithanh@cs.tu-berlin.de>
Message-ID: <5caef71d115a5b838d3b02bc9b7496d3890787b2.chithead@gentoo>
Subject: [gentoo-commits] proj/x11:master commit in: media-libs/mesa/
X-VCS-Repository: proj/x11
X-VCS-Files: media-libs/mesa/mesa-9999.ebuild media-libs/mesa/metadata.xml
X-VCS-Directories: media-libs/mesa/
X-VCS-Committer: chithead
X-VCS-Committer-Name: Chi-Thanh Christopher Nguyen
X-VCS-Revision: 5caef71d115a5b838d3b02bc9b7496d3890787b2
Date: Mon,  1 Aug 2011 22:43:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 88e17cd22e804612feaa0ae0f7c1c2c9

commit:     5caef71d115a5b838d3b02bc9b7496d3890787b2
Author:     Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  1 22:43:44 2011 +0000
Commit:     Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berli=
n <DOT> de>
CommitDate: Mon Aug  1 22:43:44 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/x11.git;a=3Dc=
ommit;h=3D5caef71d

media-libs/mesa: sync with portage

---
 media-libs/mesa/mesa-9999.ebuild |    6 ++++--
 media-libs/mesa/metadata.xml     |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999=
.ebuild
index 7e447a1..cda6a88 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -45,7 +45,7 @@ for card in ${VIDEO_CARDS}; do
 done
=20
 IUSE=3D"${IUSE_VIDEO_CARDS}
-	bindist +classic d3d debug +egl g3dvl +gallium gles +llvm motif +nptl o=
penvg pic selinux shared-dricore +shared-glapi vdpau wayland xvmc kernel_=
FreeBSD"
+	bindist +classic d3d debug +egl g3dvl +gallium gbm gles +llvm motif +np=
tl openvg pic selinux shared-dricore +shared-glapi vdpau wayland xvmc ker=
nel_FreeBSD"
=20
 LIBDRM_DEPSTRING=3D">=3Dx11-libs/libdrm-2.4.24"
 # not a runtime dependency of this package, but dependency of packages w=
hich
@@ -63,6 +63,7 @@ RDEPEND=3D"${EXTERNAL_DEPEND}
 	gallium? ( app-admin/eselect-mesa )
 	>=3Dapp-admin/eselect-opengl-1.2.2
 	dev-libs/expat
+	gbm? ( sys-fs/udev )
 	x11-libs/libICE
 	>=3Dx11-libs/libX11-1.3.99.901
 	x11-libs/libXdamage
@@ -221,7 +222,7 @@ src_configure() {
 	if use egl; then
 		use shared-glapi || die "egl needs shared-glapi. Please either enable =
shared-glapi or disable the egl use flag ."
 		myconf+=3D"
-			--with-egl-platforms=3Dx11,$(use wayland && echo "wayland,")drm
+			--with-egl-platforms=3Dx11$(use wayland && echo ",wayland")$(use gbm =
&& echo ",drm")
 			$(use_enable gallium gallium-egl)
 		"
 	fi
@@ -274,6 +275,7 @@ src_configure() {
 		--enable-xcb \
 		$(use_enable debug) \
 		$(use_enable g3dvl) \
+		$(use_enable gbm) \
 		$(use_enable motif glw) \
 		$(use_enable motif) \
 		$(use_enable nptl glx-tls) \

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 430cbe5..34bed90 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -8,6 +8,7 @@
 	<flag name=3D'egl'>Enable EGL support for Gallium3D.</flag>
 	<flag name=3D'gallium'>Build drivers based on Gallium3D, the new archit=
ecture for 3D graphics drivers.</flag>
 	<flag name=3D'g3dvl'>Enable video decode acceleration support for Galli=
um3D.</flag>
+	<flag name=3D'gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</=
flag>
 	<flag name=3D'gles'>Enable GLES support for Gallium3D.</flag>
 	<flag name=3D'llvm'>Enable LLVM backend for Gallium3D.</flag>
 	<flag name=3D'openvg'>Enable the OpenVG 2D acceleration API</flag>