summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-12-22 20:46:21 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-12-22 20:46:21 +0000
commit48a10ef851e8c10049f79f4ee164b048215deb06 (patch)
tree2b2ce677ad576a1392e3b711755f4f292f0401ad /media-libs
parentAdd tcl8.5 patch (stupid configure script). Respect LDFLAGS. Call epatch jus... (diff)
downloadhistorical-48a10ef851e8c10049f79f4ee164b048215deb06.tar.gz
historical-48a10ef851e8c10049f79f4ee164b048215deb06.tar.bz2
historical-48a10ef851e8c10049f79f4ee164b048215deb06.zip
Sync with in-overlay updates prepared for 7.7 final release.
Package-Manager: portage-2.2_rc60/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/mesa/ChangeLog5
-rw-r--r--media-libs/mesa/Manifest4
-rw-r--r--media-libs/mesa/mesa-7.7.ebuild75
3 files changed, 34 insertions, 50 deletions
diff --git a/media-libs/mesa/ChangeLog b/media-libs/mesa/ChangeLog
index 741607ac81d7..435353966f2f 100644
--- a/media-libs/mesa/ChangeLog
+++ b/media-libs/mesa/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/mesa
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.250 2009/12/22 13:54:59 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.251 2009/12/22 20:46:21 scarabeus Exp $
+
+ 22 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
+ Sync with in-overlay updates prepared for 7.7 final release.
22 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
-mesa-7.6.1_rc4.ebuild, -mesa-7.7_rc3.ebuild:
diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 74ad42132f9a..a0aeefa698dd 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -8,6 +8,6 @@ DIST MesaLib-7.7.tar.bz2 5000637 RMD160 7edcba70e4e9bb1c6724c43e916c6e4c3e90c0dc
EBUILD mesa-7.5.1.ebuild 7692 RMD160 cfbc21986990627d9a99e27d57500eeee2f4008a SHA1 d040934dbfc2824ca24dbd3318b049d9a3bd7ca7 SHA256 c107a62f56db25fcf4e23c0045d562231dbc9c9ff921c9679f66c70be879006f
EBUILD mesa-7.5.2.ebuild 7697 RMD160 f41d89991113673e35d28299db32975b3735df86 SHA1 c42c692bae5247ada8c2cb309aaa523ceb654057 SHA256 daa2116edc01a6e56b203f552d6cd51f085193bcba06bff625368e0c6609f9dc
EBUILD mesa-7.6.1.ebuild 6578 RMD160 baa8791f9d7afee3e1d9b3d615eb00c4858a14a8 SHA1 2e87a9195a62e20487bf24736b7eaa2b75558f91 SHA256 d858bdbf7e73c757a5bfe2de97e0191b3c3cd0fe82ff1bf45f2ab5785c9ede7a
-EBUILD mesa-7.7.ebuild 6309 RMD160 e07c15365b1748c705d21331838ecf6521e1ead2 SHA1 b7522cc87bf61c1e1c2b02e05308dc7dbae574bf SHA256 b67b91363192cc3fed2f7af0e957824d114709a12874d3bdd11092941fb24f78
-MISC ChangeLog 44650 RMD160 a3668f43f60d520023f5a1e118fce01c6d8c5812 SHA1 85a52c6dd6c37fa0fd4c620730ae02b455937cb6 SHA256 48dbee2e7d22048bbc7480a5f554695d5028f47b9d90aea57c380ada75063a07
+EBUILD mesa-7.7.ebuild 5807 RMD160 e9ec3d78611c970adaf0b016202486ed4357ec04 SHA1 3bdf8c3266611fdad541a7f9f5eeb4d1cd2b50dd SHA256 2f363aace73c57736b4cf9f20979a9d69f60143d9503104924c1d6d2c9da7c92
+MISC ChangeLog 44787 RMD160 37f8a98727b074e54dc0613986261f2503a4e9f7 SHA1 ccb58f3d691fa4f1ad975d627959c5ad97bed876 SHA256 b37484d547324bf159c9c83335afbcabf8c90eee9ee6b2c7b2325da40d53a331
MISC metadata.xml 344 RMD160 2a7cf045329a3141e5ae1396b497ca0e98a1888b SHA1 b730806d6fa2db3bada9e66dd6b93b9e40d6dfea SHA256 849997a7912f4428382a3bdc6b6b6bdb2928048a274fa865b3c89cd3e89e6dde
diff --git a/media-libs/mesa/mesa-7.7.ebuild b/media-libs/mesa/mesa-7.7.ebuild
index 64ccf01f0c26..a8b1abf6ce36 100644
--- a/media-libs/mesa/mesa-7.7.ebuild
+++ b/media-libs/mesa/mesa-7.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.7.ebuild,v 1.1 2009/12/22 13:50:33 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.7.ebuild,v 1.2 2009/12/22 20:46:21 scarabeus Exp $
EAPI="2"
@@ -9,7 +9,6 @@ EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git"
EXPERIMENTAL="true"
- IUSE_VIDEO_CARDS_UNSTABLE="video_cards_nouveau"
fi
inherit autotools multilib flag-o-matic ${GIT_ECLASS} portability
@@ -17,7 +16,7 @@ inherit autotools multilib flag-o-matic ${GIT_ECLASS} portability
OPENGL_DIR="xorg-x11"
MY_PN="${PN/m/M}"
-MY_P="${MY_PN}-${PV/_*}"
+MY_P="${MY_PN}-${PV/_/-}"
MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
DESCRIPTION="OpenGL-like graphic library for Linux"
HOMEPAGE="http://mesa3d.sourceforge.net/"
@@ -34,21 +33,13 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE_VIDEO_CARDS="${IUSE_VIDEO_CARDS_UNSTABLE}
- video_cards_intel
- video_cards_mach64
- video_cards_mga
- video_cards_none
- video_cards_r128
- video_cards_radeon
- video_cards_radeonhd
- video_cards_savage
- video_cards_sis
- video_cards_sunffb
- video_cards_tdfx
- video_cards_via"
+VIDEO_CARDS="intel mach64 mga none nouveau r128 radeon radeonhd savage sis sunffb svga tdfx via"
+for card in ${VIDEO_CARDS}; do
+ IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
IUSE="${IUSE_VIDEO_CARDS}
- debug gallium motif +nptl pic +xcb kernel_FreeBSD"
+ debug +gallium motif +nptl pic selinux +xcb kernel_FreeBSD"
# keep correct libdrm and dri2proto dep
# keep blocks in rdepend for binpkg
@@ -128,45 +119,35 @@ src_configure() {
driver_enable video_cards_tdfx tdfx
driver_enable video_cards_via unichrome
- # all live (experimental) stuff is wrapped around with experimental variable
- # so the users cant get to this parts even with enabled useflags (downgrade
- # from live to stable for example)
- if [[ -n ${EXPERIMENTAL} ]]; then
- # nouveau works only with gallium
- use gallium && myconf="${myconf} $(use_enable video_cards_nouveau gallium-nouveau)"
- if use video_cards_nouveau && ! use gallium ; then
- elog "Nouveau driver is available only via gallium interface."
- elog "Enable gallium useflag if you want to use nouveau."
- echo
- fi
- fi
-
myconf="${myconf} $(use_enable gallium)"
if use gallium; then
- elog "Warning gallium interface is highly experimental so use"
- elog "it only if you feel really really brave."
- elog
- elog "Intel: works only i915."
- elog "Nouveau: only available implementation, so no other choice"
- elog "Radeon: implementation up to the r500."
+ elog "You have enabled gallium infrastructure."
+ elog "This infrastructure currently support these drivers:"
+ elog " Intel: works only i915."
+ elog " Nouveau: only available implementation, so no other choice"
+ elog " Radeon: implementation up to the r500."
+ elog " Svga: VMWare Virtual GPU driver."
echo
myconf="${myconf}
--with-state-trackers=glx,dri,egl,xorg
+ $(use_enable video_cards_svga gallium-svga)
$(use_enable video_cards_nouveau gallium-nouveau)
$(use_enable video_cards_intel gallium-intel)"
- if ! use video_cards_radeon && ! use video_cards_radeonhd; then
- myconf="${myconf} --disable-gallium-radeon"
- else
+ if use video_cards_radeon || use video_cards_radeonhd; then
myconf="${myconf} --enable-gallium-radeon"
+ else
+ myconf="${myconf} --disable-gallium-radeon"
+ fi
+ else
+ if use video_cards_nouveau || use video_cards_svga; then
+ elog "SVGA and nouveau drivers are available only via gallium interface."
+ elog "Enable gallium useflag if you want to use them."
fi
fi
- # Deactivate assembly code for pic build
- myconf="${myconf} $(use_enable !pic asm)"
-
- # --with-driver=dri|xlib|osmesa ; might get changed later to something
- # else than dri
+ # --with-driver=dri|xlib|osmesa || do we need osmesa?
econf \
+ --disable-option-checking \
--with-driver=dri \
--disable-glut \
--without-demos \
@@ -175,7 +156,7 @@ src_configure() {
$(use_enable motif) \
$(use_enable nptl glx-tls) \
$(use_enable xcb) \
- --disable-gallium-svga \
+ $(use_enable !pic asm) \
--with-dri-drivers=${DRI_DRIVERS} \
${myconf}
}
@@ -223,13 +204,13 @@ driver_enable() {
case $# in
# for enabling unconditionally
1)
- DRI_DRIVERS="${DRI_DRIVERS},$1"
+ DRI_DRIVERS+=",$1"
;;
*)
if use $1; then
shift
for i in $@; do
- DRI_DRIVERS="${DRI_DRIVERS},${i}"
+ DRI_DRIVERS+=",${i}"
done
fi
;;