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 ) id 1Qt7Jl-0008My-R5 for garchives@archives.gentoo.org; Tue, 16 Aug 2011 00:15:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E38021C06A; Tue, 16 Aug 2011 00:15:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BBB4521C069 for ; Tue, 16 Aug 2011 00:15: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 24E131B403B for ; Tue, 16 Aug 2011 00:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 844AC80043 for ; Tue, 16 Aug 2011 00:15:31 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <3900de5da9f34fec79b226621c0c3b29f39e5514.mattst88@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 X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 3900de5da9f34fec79b226621c0c3b29f39e5514 Date: Tue, 16 Aug 2011 00:15:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: b2a89c2a265a7bcfc66a134e7cf709d5 commit: 3900de5da9f34fec79b226621c0c3b29f39e5514 Author: Matt Turner gmail com> AuthorDate: Tue Aug 16 00:13:32 2011 +0000 Commit: Matt Turner gmail com> CommitDate: Tue Aug 16 00:13:32 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/x11.git;a=3Dc= ommit;h=3D3900de5d media-libs/mesa: make use of REQUIRED_USE --- media-libs/mesa/mesa-9999.ebuild | 34 +++++++++++++++++++++++++-------= -- 1 files changed, 25 insertions(+), 9 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999= .ebuild index c3520c0..f741b96 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -47,6 +47,30 @@ done IUSE=3D"${IUSE_VIDEO_CARDS} bindist +classic d3d debug +egl g3dvl +gallium gbm gles +llvm +nptl ope= nvg pax_kernel pic selinux shared-dricore +shared-glapi vdpau wayland xvm= c kernel_FreeBSD" =20 +REQUIRED_USE=3D" + d3d? ( gallium ) + g3dvl? ( gallium ) + llvm? ( gallium ) + openvg? ( gallium ) + egl? ( shared-glapi ) + gallium? ( + video_cards_r300? ( llvm ) + video_cards_radeon? ( llvm ) + ) + video_cards_i810? ( classic ) + video_cards_i915? ( classic ) + video_cards_mach64? ( classic ) + video_cards_mga? ( classic ) + video_cards_r100? ( classic ) + video_cards_r128? ( classic ) + video_cards_r200? ( classic ) + video_cards_savage? ( classic ) + video_cards_sis? ( classic ) + video_cards_vmware? ( gallium ) + video_cards_tdfx? ( classic ) + video_cards_via? ( classic ) +" + LIBDRM_DEPSTRING=3D">=3Dx11-libs/libdrm-2.4.24" # not a runtime dependency of this package, but dependency of packages w= hich # depend on this package, bug #342393 @@ -72,9 +96,7 @@ RDEPEND=3D"${EXTERNAL_DEPEND} x11-libs/libXmu x11-libs/libXxf86vm d3d? ( app-emulation/wine ) - gallium? ( - llvm? ( >=3Dsys-devel/llvm-2.9 ) - ) + llvm? ( >=3Dsys-devel/llvm-2.9 ) vdpau? ( >=3Dx11-libs/libvdpau-0.4.1 ) wayland? ( x11-base/wayland ) xvmc? ( x11-libs/libXvMC ) @@ -215,7 +237,6 @@ src_configure() { $(use_enable egl) " 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")$(use gbm = && echo ",drm") $(use_enable gallium gallium-egl) @@ -248,11 +269,6 @@ src_configure() { ! use video_cards_r600; then gallium_enable video_cards_radeon r300 r600 fi - else - if use video_cards_nouveau || use video_cards_vmware; then - elog "SVGA and nouveau drivers are available only via gallium interfa= ce." - elog "Enable gallium useflag if you want to use them." - fi fi =20 # x86 hardened pax_kernel needs glx-rts, bug 240956