summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-12-24 15:34:14 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-12-24 15:34:14 +0000
commite00f73498e12b1e412a1854d475af71b53d3d064 (patch)
tree4170c5214906a5511520f05d8c350239d7293339 /x11-apps/mesa-progs
parentPrune files for old versions, too. (diff)
downloadhistorical-e00f73498e12b1e412a1854d475af71b53d3d064.tar.gz
historical-e00f73498e12b1e412a1854d475af71b53d3d064.tar.bz2
historical-e00f73498e12b1e412a1854d475af71b53d3d064.zip
Version bump.
Package-Manager: portage-2.2_rc60/cvs/Linux i686
Diffstat (limited to 'x11-apps/mesa-progs')
-rw-r--r--x11-apps/mesa-progs/ChangeLog8
-rw-r--r--x11-apps/mesa-progs/Manifest5
-rw-r--r--x11-apps/mesa-progs/mesa-progs-7.7.ebuild81
3 files changed, 92 insertions, 2 deletions
diff --git a/x11-apps/mesa-progs/ChangeLog b/x11-apps/mesa-progs/ChangeLog
index 055b49aacda9..7d0b0672583c 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.72 2009/12/16 18:02:52 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.73 2009/12/24 15:34:14 scarabeus Exp $
+
+*mesa-progs-7.7 (24 Dec 2009)
+
+ 24 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +mesa-progs-7.7.ebuild:
+ Version bump.
16 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-mesa-progs-6.5.2.ebuild, -mesa-progs-7.3.ebuild, mesa-progs-7.5.1.ebuild:
diff --git a/x11-apps/mesa-progs/Manifest b/x11-apps/mesa-progs/Manifest
index 152c06e6255e..a36738e71fb0 100644
--- a/x11-apps/mesa-progs/Manifest
+++ b/x11-apps/mesa-progs/Manifest
@@ -1,5 +1,8 @@
DIST MesaDemos-7.5.1.tar.bz2 1552059 RMD160 9147d9fba75998fcd344a736995069ec642c8893 SHA1 5bafef98a896f4e5c22d17b435db0d14e981ba6c SHA256 64d6b9b42a93e93b770cd07d944a5fe872752db18b1cd84224198f7a431a1721
+DIST MesaDemos-7.7.tar.bz2 16281508 RMD160 6a5b5801e2542e5b59a0dd8490a742f7d207a051 SHA1 20168216275d8c6937c770b4fa4c95651660226c SHA256 38dbcce59fcc457b53ff6d4e2d5a400d41c02f093bb1fae141e99e032729ab14
DIST MesaLib-7.5.1.tar.bz2 4382803 RMD160 bccf6f52fce3b3c7ac6525444f907e3c2fe790c2 SHA1 26171fb4de23a21431861d6663203e400df45bf7 SHA256 48f21e5a91a82fa9fb6d0bc5ae72d9d9cc1824429dcfc759cfcc1a44e3e1440a
+DIST MesaLib-7.7.tar.bz2 5000637 RMD160 7edcba70e4e9bb1c6724c43e916c6e4c3e90c0dc SHA1 dc104df86f1cf777dac0bdbe8fd0a43c37918b66 SHA256 6252d7d4190b47f70d0e4ec0edbd5a70f2261c5f6e66859e5fd2572c1df6357a
EBUILD mesa-progs-7.5.1.ebuild 1968 RMD160 76676c5162d39205733865f0cdc7d40de5656530 SHA1 cc2f2fd4b73cd6412bf15d50ff514c5221a09212 SHA256 853fa081b513fed93f919c61bd013696c47a565b956a44c2fde7edea79902a2b
-MISC ChangeLog 9105 RMD160 aeb576baac8c8f8103876580b874f4e4212425da SHA1 aabe79a3ae27593c852dfb5842485359b9c06a71 SHA256 cddc7dad476cbe90ebef493f40d80726df6180c83b40927f34fd77945c6078ba
+EBUILD mesa-progs-7.7.ebuild 1976 RMD160 21a3a0d22fa192df679f9a8c15a294f6be9c9a56 SHA1 cde2a09eb51be994a735776907f46a94ec5250e6 SHA256 61b34f7ff043a3b27bf58e5503c062ad1d41c8c4ce4140eea2bf4f22426961b9
+MISC ChangeLog 9234 RMD160 cf68bb7981761e8873d522b9ba7808ae3e52feda SHA1 ae67fe9ea56b14888083fec4ef33a7f5e54a7a4b SHA256 6442f6ff71f418f9bbead90ada2c4d4c2cd8ff05605cc6f33d6771a19bc0def9
MISC metadata.xml 156 RMD160 c1274bdccf57603d580de0075ba07a35b7509560 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055
diff --git a/x11-apps/mesa-progs/mesa-progs-7.7.ebuild b/x11-apps/mesa-progs/mesa-progs-7.7.ebuild
new file mode 100644
index 000000000000..61761fe55068
--- /dev/null
+++ b/x11-apps/mesa-progs/mesa-progs-7.7.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/mesa-progs-7.7.ebuild,v 1.1 2009/12/24 15:34:14 scarabeus 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 (glxgears and glxinfo)"
+HOMEPAGE="http://mesa3d.sourceforge.net/"
+if [[ $PV = *_rc* ]]; then
+ SRC_URI="http://www.mesa3d.org/beta/${LIB_P}.tar.gz
+ http://www.mesa3d.org/beta/${PROG_P}.tar.gz"
+elif [[ $PV = 9999 ]]; then
+ SRC_URI=""
+else
+ SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${PV}/${LIB_P}.tar.bz2
+ ftp://ftp.freedesktop.org/pub/mesa/${PV}/${PROG_P}.tar.bz2"
+fi
+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}/${MY_P}"
+
+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}
+ echo "LDFLAGS = ${LDFLAGS}" >> ${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
+}