diff options
author | Akinori Hattori <hattya@gentoo.org> | 2006-12-01 13:53:07 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2006-12-01 13:53:07 +0000 |
commit | 7822efa55f3534aa552f4e25b981f1a6b0957175 (patch) | |
tree | 678886bd7a5b7b68a84d5af3245a7de4f2714c81 /dev-scheme/gauche-gl | |
parent | Re-adding ~sparc keyword: Builds fine and runs all its tests with or w/o (diff) | |
download | gentoo-2-7822efa55f3534aa552f4e25b981f1a6b0957175.tar.gz gentoo-2-7822efa55f3534aa552f4e25b981f1a6b0957175.tar.bz2 gentoo-2-7822efa55f3534aa552f4e25b981f1a6b0957175.zip |
new upstream release.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-scheme/gauche-gl')
-rw-r--r-- | dev-scheme/gauche-gl/ChangeLog | 9 | ||||
-rw-r--r-- | dev-scheme/gauche-gl/files/digest-gauche-gl-0.4.2 | 3 | ||||
-rw-r--r-- | dev-scheme/gauche-gl/files/gauche-gl-prototypes.diff | 12 | ||||
-rw-r--r-- | dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild | 8 | ||||
-rw-r--r-- | dev-scheme/gauche-gl/gauche-gl-0.4.2.ebuild | 74 |
5 files changed, 101 insertions, 5 deletions
diff --git a/dev-scheme/gauche-gl/ChangeLog b/dev-scheme/gauche-gl/ChangeLog index b47ca30139ec..094da22f19eb 100644 --- a/dev-scheme/gauche-gl/ChangeLog +++ b/dev-scheme/gauche-gl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-scheme/gauche-gl # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.6 2006/07/03 16:14:56 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.7 2006/12/01 13:53:07 hattya Exp $ + +*gauche-gl-0.4.2 (01 Dec 2006) + + 01 Dec 2006; Akinori Hattori <hattya@gentoo.org> + +files/gauche-gl-prototypes.diff, gauche-gl-0.4.1.ebuild, + +gauche-gl-0.4.2.ebuild: + new upstream release. 03 Jul 2006; Akinori Hattori <hattya@gentoo.org> gauche-gl-0.4.1.ebuild: fixes bug #128592 diff --git a/dev-scheme/gauche-gl/files/digest-gauche-gl-0.4.2 b/dev-scheme/gauche-gl/files/digest-gauche-gl-0.4.2 new file mode 100644 index 000000000000..d2cce87f0408 --- /dev/null +++ b/dev-scheme/gauche-gl/files/digest-gauche-gl-0.4.2 @@ -0,0 +1,3 @@ +MD5 32e0670225a983e9df99f856825e1f63 Gauche-gl-0.4.2.tgz 942251 +RMD160 8e730d81c21ee1bba273d79c7c2d9afe2c181072 Gauche-gl-0.4.2.tgz 942251 +SHA256 947dd946c7e6837f5825214e89e69f3c2e1ef5b49ad3a27974aa7df7c937cb97 Gauche-gl-0.4.2.tgz 942251 diff --git a/dev-scheme/gauche-gl/files/gauche-gl-prototypes.diff b/dev-scheme/gauche-gl/files/gauche-gl-prototypes.diff new file mode 100644 index 000000000000..c7f2c7890dbb --- /dev/null +++ b/dev-scheme/gauche-gl/files/gauche-gl-prototypes.diff @@ -0,0 +1,12 @@ +diff -urN Gauche-gl-0.4.2.orig/src/gauche-gl.h Gauche-gl-0.4.2/src/gauche-gl.h +--- Gauche-gl-0.4.2.orig/src/gauche-gl.h 2005-06-30 22:29:07.000000000 +0900 ++++ Gauche-gl-0.4.2/src/gauche-gl.h 2006-12-01 21:44:37.373543816 +0900 +@@ -28,6 +28,8 @@ + #endif + + #ifdef HAVE_GL_GLX_H ++#define GL_GLEXT_PROTOTYPES ++#define GLX_GLXEXT_PROTOTYPES + #include <GL/glx.h> + #endif + diff --git a/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild index 1c6137f86898..e5951eaf41b4 100644 --- a/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild +++ b/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild,v 1.4 2006/07/03 16:14:56 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild,v 1.5 2006/12/01 13:53:07 hattya Exp $ inherit eutils flag-o-matic IUSE="cg" -MY_P="${P/g/G}" +MY_P=${P/g/G} DESCRIPTION="OpenGL binding for Gauche" HOMEPAGE="http://gauche.sf.net/" @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz" LICENSE="BSD" KEYWORDS="~ppc x86" SLOT="0" -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} DEPEND="virtual/opengl virtual/glut @@ -39,7 +39,7 @@ src_compile() { src_install() { - emake DESTDIR=${D} install || die + emake DESTDIR="${D}" install || die dodoc README ChangeLog diff --git a/dev-scheme/gauche-gl/gauche-gl-0.4.2.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.4.2.ebuild new file mode 100644 index 000000000000..be4c64d133b2 --- /dev/null +++ b/dev-scheme/gauche-gl/gauche-gl-0.4.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/dev-scheme/gauche-gl/gauche-gl-0.4.2.ebuild,v 1.1 2006/12/01 13:53:07 hattya Exp $ + +inherit eutils flag-o-matic + +IUSE="cg examples" + +MY_P=${P/g/G} + +DESCRIPTION="OpenGL binding for Gauche" +HOMEPAGE="http://gauche.sf.net/" +SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz" + +LICENSE="BSD" +KEYWORDS="~ppc ~x86" +SLOT="0" +S=${WORKDIR}/${MY_P} + +DEPEND="virtual/opengl + virtual/glut + >=dev-lang/gauche-0.8.6 + cg? ( media-gfx/nvidia-cg-toolkit )" + +src_compile() { + + local myconf + + filter-flags -fforce-addr + + if use cg; then + myconf="--enable-cg" + fi + + econf ${myconf} || die + emake || die + +} + +src_install() { + + emake DESTDIR="${D}" install || die + + dodoc README ChangeLog + + if use examples; then + docinto examples + dodoc examples/*.scm + + # install glbook + docinto examples/glbook + dodoc examples/glbook/* + + docinto examples/images + dodoc examples/images/* + + # install slbook + docinto examples/slbook + dodoc examples/slbook/* + + docinto examples/slbook/ogl2brick + dodoc examples/slbook/ogl2brick/* + + docinto examples/slbook/ogl2particle + dodoc examples/slbook/ogl2particle/* + + # install cg examples + if use cg; then + docinto examples/cg + dodoc examples/cg/* + fi + fi + +} |