summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2006-04-01 18:23:44 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2006-04-01 18:23:44 +0000
commit5860f684b1b0357cef27fa8eddb9e50722aad340 (patch)
treeceaa7d889dedadf30d4d5ca9ddffd5e7ba648d2b /x11-apps
parentAdd 6.5 version of Mesa demo programs. Also mask X Server snapshots. (diff)
downloadgentoo-2-5860f684b1b0357cef27fa8eddb9e50722aad340.tar.gz
gentoo-2-5860f684b1b0357cef27fa8eddb9e50722aad340.tar.bz2
gentoo-2-5860f684b1b0357cef27fa8eddb9e50722aad340.zip
Add the 6.5 versions of the Mesa demo applications.
(Portage version: 2.1_pre7-r3)
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/mesa-progs/ChangeLog8
-rw-r--r--x11-apps/mesa-progs/Manifest12
-rw-r--r--x11-apps/mesa-progs/files/digest-mesa-progs-6.56
-rw-r--r--x11-apps/mesa-progs/mesa-progs-6.5.ebuild74
4 files changed, 96 insertions, 4 deletions
diff --git a/x11-apps/mesa-progs/ChangeLog b/x11-apps/mesa-progs/ChangeLog
index fff7866bde4f..f2b5d2260d5f 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.11 2006/03/05 20:55:40 stefaan Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.12 2006/04/01 18:23:44 joshuabaergen Exp $
+
+*mesa-progs-6.5 (01 Apr 2006)
+
+ 01 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+ +mesa-progs-6.5.ebuild:
+ Add the 6.5 versions of the Mesa demo applications.
05 Mar 2006; Stefaan De Roeck <stefaan@gentoo.org>
mesa-progs-6.4.2.ebuild:
diff --git a/x11-apps/mesa-progs/Manifest b/x11-apps/mesa-progs/Manifest
index 7594f96db861..8cf29bbf0ead 100644
--- a/x11-apps/mesa-progs/Manifest
+++ b/x11-apps/mesa-progs/Manifest
@@ -1,12 +1,18 @@
-MD5 9fb5ecd32f55f082940069a83e38db05 ChangeLog 1818
-RMD160 e75d076260a204e9317d9b5e3d086f61d1c13a1a ChangeLog 1818
-SHA256 2abf0a23067ae3896f37afdb0b47534291954729cb1f9caebeb82b1806dd1e44 ChangeLog 1818
+MD5 e9664d8cf0a83c0900ff6b01d9adb909 ChangeLog 1987
+RMD160 b48b3a75d35650dfb32d08fbb4ed69846fdf1b7e ChangeLog 1987
+SHA256 7a9560c912dd6d57839da89a4de7ed2367577cf38e407c67828f0658d53578b8 ChangeLog 1987
MD5 9017e8f025d39510b551a6503df43d44 files/digest-mesa-progs-6.4.2 497
RMD160 fe52e5d444c512522195040ab735ab5c055c8197 files/digest-mesa-progs-6.4.2 497
SHA256 b59baadfc915d7aa259c7a216c10f25214a07f969a81b5c79dc7a62603589a6e files/digest-mesa-progs-6.4.2 497
+MD5 533873ad2d4e77ca024a82f72f65ad4f files/digest-mesa-progs-6.5 485
+RMD160 3d8493315c9073a8f42d857f9cade67727ac2ce1 files/digest-mesa-progs-6.5 485
+SHA256 6a22e39bc59bd66ada2d188bf64917ead715f56eea160df24cd47a73e1b57116 files/digest-mesa-progs-6.5 485
MD5 fca2c3c75cfd477cac522a4446cd2c19 mesa-progs-6.4.2.ebuild 1695
RMD160 0c93f6e87765ffca69af8b881dfbeb76ad7c0fda mesa-progs-6.4.2.ebuild 1695
SHA256 c17d8b4e26ff290266262e8814112b95159c52f91e374c7254384a07b44e0222 mesa-progs-6.4.2.ebuild 1695
+MD5 fca2c3c75cfd477cac522a4446cd2c19 mesa-progs-6.5.ebuild 1695
+RMD160 0c93f6e87765ffca69af8b881dfbeb76ad7c0fda mesa-progs-6.5.ebuild 1695
+SHA256 c17d8b4e26ff290266262e8814112b95159c52f91e374c7254384a07b44e0222 mesa-progs-6.5.ebuild 1695
MD5 a37bab73e2f24b213932c30997d3d360 metadata.xml 156
RMD160 c1274bdccf57603d580de0075ba07a35b7509560 metadata.xml 156
SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055 metadata.xml 156
diff --git a/x11-apps/mesa-progs/files/digest-mesa-progs-6.5 b/x11-apps/mesa-progs/files/digest-mesa-progs-6.5
new file mode 100644
index 000000000000..012f9d9364a3
--- /dev/null
+++ b/x11-apps/mesa-progs/files/digest-mesa-progs-6.5
@@ -0,0 +1,6 @@
+MD5 ab95b590dcd640726a2d89e62068c66e MesaDemos-6.5.tar.bz2 823281
+RMD160 b677fad3eebdf88c67dca3196a4567d96579fd70 MesaDemos-6.5.tar.bz2 823281
+SHA256 410c0113a0ff276435578129b14ec6b8209e749bff6fa5426bd30ea517ecf4d8 MesaDemos-6.5.tar.bz2 823281
+MD5 61beda590bfc5b4a12e979d5f2d70d7a MesaLib-6.5.tar.bz2 3062363
+RMD160 6006bfdfed8a2425059c31ee699b5aca4d5f57cd MesaLib-6.5.tar.bz2 3062363
+SHA256 dcacf4c18af89b57e66dc7ba39e24c3b74ff6f83b8745bcc1390170a4190eebd MesaLib-6.5.tar.bz2 3062363
diff --git a/x11-apps/mesa-progs/mesa-progs-6.5.ebuild b/x11-apps/mesa-progs/mesa-progs-6.5.ebuild
new file mode 100644
index 000000000000..e21a97b29e77
--- /dev/null
+++ b/x11-apps/mesa-progs/mesa-progs-6.5.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.ebuild,v 1.1 2006/04/01 18:23:44 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"
+IUSE=""
+
+RDEPEND="virtual/glut
+ virtual/opengl
+ virtual/glu"
+
+DEPEND="${DEPEND}"
+
+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
+}