summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-03-07 21:20:01 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-03-07 21:20:01 +0000
commite9c1d5ced17e28285a89986351dcf96b2ed0fee7 (patch)
treedaf7e9fff73894605bf4944c1671bbf6c6474109 /x11-apps
parentold (diff)
downloadgentoo-2-e9c1d5ced17e28285a89986351dcf96b2ed0fee7.tar.gz
gentoo-2-e9c1d5ced17e28285a89986351dcf96b2ed0fee7.tar.bz2
gentoo-2-e9c1d5ced17e28285a89986351dcf96b2ed0fee7.zip
old
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/mesa-progs/ChangeLog5
-rw-r--r--x11-apps/mesa-progs/mesa-progs-7.7.ebuild80
2 files changed, 4 insertions, 81 deletions
diff --git a/x11-apps/mesa-progs/ChangeLog b/x11-apps/mesa-progs/ChangeLog
index d36adc9650b1..5ca5f951a014 100644
--- a/x11-apps/mesa-progs/ChangeLog
+++ b/x11-apps/mesa-progs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-apps/mesa-progs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.91 2011/03/05 17:58:20 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.92 2011/03/07 21:20:01 scarabeus Exp $
+
+ 07 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-progs-7.7.ebuild:
+ old
05 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-progs-8.0.1.ebuild:
ppc64 stable wrt #354237
diff --git a/x11-apps/mesa-progs/mesa-progs-7.7.ebuild b/x11-apps/mesa-progs/mesa-progs-7.7.ebuild
deleted file mode 100644
index 8043690fbdf1..000000000000
--- a/x11-apps/mesa-progs/mesa-progs-7.7.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2010 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.11 2010/09/17 11:25:15 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 ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="media-libs/freeglut
- virtual/opengl"
-
-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
-}