diff options
author | Joshua Baergen <joshuabaergen@gentoo.org> | 2006-09-17 16:28:20 +0000 |
---|---|---|
committer | Joshua Baergen <joshuabaergen@gentoo.org> | 2006-09-17 16:28:20 +0000 |
commit | 56879268ba6c72a567e2e8e4066b9e92d27f9b99 (patch) | |
tree | 1aaf98fae80d61eb1a695e44366aae36378b96dd /x11-apps | |
parent | * bump, stabilization (diff) | |
download | gentoo-2-56879268ba6c72a567e2e8e4066b9e92d27f9b99.tar.gz gentoo-2-56879268ba6c72a567e2e8e4066b9e92d27f9b99.tar.bz2 gentoo-2-56879268ba6c72a567e2e8e4066b9e92d27f9b99.zip |
Bump.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'x11-apps')
-rw-r--r-- | x11-apps/mesa-progs/ChangeLog | 8 | ||||
-rw-r--r-- | x11-apps/mesa-progs/files/digest-mesa-progs-6.5.1 | 6 | ||||
-rw-r--r-- | x11-apps/mesa-progs/mesa-progs-6.5.1.ebuild | 74 |
3 files changed, 87 insertions, 1 deletions
diff --git a/x11-apps/mesa-progs/ChangeLog b/x11-apps/mesa-progs/ChangeLog index 425e2d7aa433..139a285d35b7 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.23 2006/09/12 18:03:53 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.24 2006/09/17 16:28:20 joshuabaergen Exp $ + +*mesa-progs-6.5.1 (17 Sep 2006) + + 17 Sep 2006; Joshua Baergen <joshuabaergen@gentoo.org> + +mesa-progs-6.5.1.ebuild: + Bump. 12 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> mesa-progs-6.5.ebuild: Stable on hppa diff --git a/x11-apps/mesa-progs/files/digest-mesa-progs-6.5.1 b/x11-apps/mesa-progs/files/digest-mesa-progs-6.5.1 new file mode 100644 index 000000000000..8ce3d9a3f8bb --- /dev/null +++ b/x11-apps/mesa-progs/files/digest-mesa-progs-6.5.1 @@ -0,0 +1,6 @@ +MD5 0f2794baf7a9d98b22caea9f78c6942d MesaDemos-6.5.1.tar.bz2 1319453 +RMD160 8de41d01274c411aaf4e1f6fb4784f21c972b991 MesaDemos-6.5.1.tar.bz2 1319453 +SHA256 a12ad72a123c39ee3412d76690dd2c077216811065f06431c68677957a7e919e MesaDemos-6.5.1.tar.bz2 1319453 +MD5 c46f2c6646a270911b791dd8e1c2d977 MesaLib-6.5.1.tar.bz2 3138257 +RMD160 23f8714787b053b2c41d020c7af211a02e5beab3 MesaLib-6.5.1.tar.bz2 3138257 +SHA256 e2669c9757e37f9073f539d75ced7f8f7a45b6bbb16081929ca2a306cde59df0 MesaLib-6.5.1.tar.bz2 3138257 diff --git a/x11-apps/mesa-progs/mesa-progs-6.5.1.ebuild b/x11-apps/mesa-progs/mesa-progs-6.5.1.ebuild new file mode 100644 index 000000000000..366a214ddada --- /dev/null +++ b/x11-apps/mesa-progs/mesa-progs-6.5.1.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.1.ebuild,v 1.1 2006/09/17 16:28:20 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 +} |