summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2006-12-05 03:19:45 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2006-12-05 03:19:45 +0000
commitb39ca50c5df9882c242f5481d6b67a308b32f4c9 (patch)
tree04862cc8dd925f01847069a16ea083358ea3a44c /x11-apps
parentfix up the broken libselinux deps by allowing the libselinux-1.28 version to (diff)
downloadgentoo-2-b39ca50c5df9882c242f5481d6b67a308b32f4c9.tar.gz
gentoo-2-b39ca50c5df9882c242f5481d6b67a308b32f4c9.tar.bz2
gentoo-2-b39ca50c5df9882c242f5481d6b67a308b32f4c9.zip
Version bump.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/mesa-progs/ChangeLog8
-rw-r--r--x11-apps/mesa-progs/files/digest-mesa-progs-6.5.26
-rw-r--r--x11-apps/mesa-progs/mesa-progs-6.5.2.ebuild74
3 files changed, 87 insertions, 1 deletions
diff --git a/x11-apps/mesa-progs/ChangeLog b/x11-apps/mesa-progs/ChangeLog
index 9436404d6ce1..c397942d616e 100644
--- a/x11-apps/mesa-progs/ChangeLog
+++ b/x11-apps/mesa-progs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-apps/mesa-progs
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.29 2006/12/01 18:17:29 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.30 2006/12/05 03:19:45 joshuabaergen Exp $
+
+*mesa-progs-6.5.2 (05 Dec 2006)
+
+ 05 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+ +mesa-progs-6.5.2.ebuild:
+ Version bump.
01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
mesa-progs-6.5.1.ebuild:
diff --git a/x11-apps/mesa-progs/files/digest-mesa-progs-6.5.2 b/x11-apps/mesa-progs/files/digest-mesa-progs-6.5.2
new file mode 100644
index 000000000000..df78caf68115
--- /dev/null
+++ b/x11-apps/mesa-progs/files/digest-mesa-progs-6.5.2
@@ -0,0 +1,6 @@
+MD5 e870efe98d3a50be01ab211b9b2e25d9 MesaDemos-6.5.2.tar.bz2 1324545
+RMD160 3dbc5e32edba1ee0d9a921aca24ca8d2db1b56f1 MesaDemos-6.5.2.tar.bz2 1324545
+SHA256 804f74959bf5f0bb58e159f1a62c7ed8290ab4d92fdce9ed986d0eaf81e70eea MesaDemos-6.5.2.tar.bz2 1324545
+MD5 e4d894181f1859651658b3704633e10d MesaLib-6.5.2.tar.bz2 3295166
+RMD160 9a92d69110c066ae6734bcaafb78f222ac2df6d3 MesaLib-6.5.2.tar.bz2 3295166
+SHA256 137f50a30461d51eb9af5aac737bc788d536354cf47b26129b97bde6e41fb85f MesaLib-6.5.2.tar.bz2 3295166
diff --git a/x11-apps/mesa-progs/mesa-progs-6.5.2.ebuild b/x11-apps/mesa-progs/mesa-progs-6.5.2.ebuild
new file mode 100644
index 000000000000..29f1b8eb9d54
--- /dev/null
+++ b/x11-apps/mesa-progs/mesa-progs-6.5.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/mesa-progs-6.5.2.ebuild,v 1.1 2006/12/05 03:19:45 joshuabaergen Exp $
+
+inherit toolchain-funcs
+
+MY_PN="${PN/m/M}"
+MY_PN="${MY_PN/-progs}"
+MY_P="${MY_PN}-${PV}"
+LIB_P="${MY_PN}Lib-${PV}"
+PROG_P="${MY_PN}Demos-${PV}"
+DESCRIPTION="Mesa's OpenGL utility and demo programs (like glxgears)"
+HOMEPAGE="http://mesa3d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mesa3d/${LIB_P}.tar.bz2
+ mirror://sourceforge/mesa3d/${PROG_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="virtual/glut
+ virtual/opengl
+ virtual/glu"
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/Mesa-${PV}
+
+pkg_setup() {
+ if [[ ${KERNEL} == "FreeBSD" ]]; then
+ CONFIG="freebsd"
+ elif use x86; then
+ CONFIG="linux-dri-x86"
+ elif use amd64; then
+ CONFIG="linux-dri-x86-64"
+ elif use ppc; then
+ CONFIG="linux-dri-ppc"
+ else
+ CONFIG="linux-dri"
+ fi
+}
+
+src_unpack() {
+ HOSTCONF="${S}/configs/${CONFIG}"
+
+ unpack ${A}
+ cd ${S}
+
+ # Kill this; we don't want /usr/X11R6/lib ever to be searched in this
+ # build.
+ echo "EXTRA_LIB_PATH =" >> ${HOSTCONF}
+
+ echo "OPT_FLAGS = ${CFLAGS}" >> ${HOSTCONF}
+ echo "CC = $(tc-getCC)" >> ${HOSTCONF}
+ echo "CXX = $(tc-getCXX)" >> ${HOSTCONF}
+
+ # Just executables here, no need to compile with -fPIC
+ echo "PIC_FLAGS =" >> ${HOSTCONF}
+}
+
+src_compile() {
+ cd ${S}/configs
+ ln -s ${CONFIG} current
+
+ cd ${S}/progs/xdemos
+
+ emake glxinfo || die "glxinfo failed"
+ emake glxgears || die "glxgears failed"
+}
+
+src_install() {
+ dobin "${S}"/progs/xdemos/{glxgears,glxinfo} || die
+}