diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-07 03:33:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-07 03:33:04 +0000 |
commit | e536bda7871f9778b125efa9c96c876503dda104 (patch) | |
tree | d7ab128a8e666f112e00f05710db6724329a66da /dev-games | |
parent | disable editor for now since it doesn't build for me. (diff) | |
download | historical-e536bda7871f9778b125efa9c96c876503dda104.tar.gz historical-e536bda7871f9778b125efa9c96c876503dda104.tar.bz2 historical-e536bda7871f9778b125efa9c96c876503dda104.zip |
Version bump #87015 by Timm Murray & Chris Statzer.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/irrlicht/ChangeLog | 10 | ||||
-rw-r--r-- | dev-games/irrlicht/Manifest | 7 | ||||
-rw-r--r-- | dev-games/irrlicht/files/digest-irrlicht-0.10.0 | 1 | ||||
-rw-r--r-- | dev-games/irrlicht/files/irrlicht-0.10.0-opengl.patch | 20 | ||||
-rw-r--r-- | dev-games/irrlicht/irrlicht-0.10.0.ebuild | 61 |
5 files changed, 95 insertions, 4 deletions
diff --git a/dev-games/irrlicht/ChangeLog b/dev-games/irrlicht/ChangeLog index cf08eb871eb5..30db5259c782 100644 --- a/dev-games/irrlicht/ChangeLog +++ b/dev-games/irrlicht/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-games/irrlicht -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.10 2005/01/01 18:00:28 eradicator Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.11 2005/06/07 03:33:04 vapier Exp $ + +*irrlicht-0.10.0 (07 Jun 2005) + + 07 Jun 2005; Mike Frysinger <vapier@gentoo.org> + +files/irrlicht-0.10.0-opengl.patch, +irrlicht-0.10.0.ebuild: + Version bump #87015 by Timm Murray & Chris Statzer. *irrlicht-0.7.1 (30 Dec 2004) diff --git a/dev-games/irrlicht/Manifest b/dev-games/irrlicht/Manifest index ea4437f46fe8..f0ea59c54a16 100644 --- a/dev-games/irrlicht/Manifest +++ b/dev-games/irrlicht/Manifest @@ -1,7 +1,10 @@ -MD5 d7cd033f64a413f21b8ed34080aaa51b ChangeLog 1646 -MD5 ad41838cd74c70f9c72295bda4662786 metadata.xml 790 +MD5 0161cb9bedb7a24441046893e963b085 ChangeLog 1843 MD5 283af2669b7fb7a7b672f112fc509734 irrlicht-0.7.1.ebuild 1441 +MD5 ad41838cd74c70f9c72295bda4662786 metadata.xml 790 +MD5 af0ddfac8a4fb8f838e150be97330291 irrlicht-0.10.0.ebuild 1692 MD5 33d681a58fa24489d6bdf9f48346ed08 files/0.7.1-jpeg.patch 536 MD5 3d0c46bd872601ae474803a089531688 files/0.7.1-opengl.patch 189 MD5 5429bde56275c9f5201369a080f03f57 files/0.7.1-system-libs.patch 617 MD5 a802b6daa10af3a510febd31ec1b2dc1 files/digest-irrlicht-0.7.1 127 +MD5 312164f80e743bb92907e37a76d96670 files/digest-irrlicht-0.10.0 66 +MD5 9e43009bf90ea86626836ef35b62aec5 files/irrlicht-0.10.0-opengl.patch 648 diff --git a/dev-games/irrlicht/files/digest-irrlicht-0.10.0 b/dev-games/irrlicht/files/digest-irrlicht-0.10.0 new file mode 100644 index 000000000000..6688111c1ec9 --- /dev/null +++ b/dev-games/irrlicht/files/digest-irrlicht-0.10.0 @@ -0,0 +1 @@ +MD5 027244998de45944aa80f81f3f7fde55 irrlicht-0.10.0.zip 13540616 diff --git a/dev-games/irrlicht/files/irrlicht-0.10.0-opengl.patch b/dev-games/irrlicht/files/irrlicht-0.10.0-opengl.patch new file mode 100644 index 000000000000..1b642f6e1ab2 --- /dev/null +++ b/dev-games/irrlicht/files/irrlicht-0.10.0-opengl.patch @@ -0,0 +1,20 @@ +Fix compiling error: +COpenGLDriver.cpp: In member function `void irr::video::COpenGLDriver::loadExtensions()': +COpenGLDriver.cpp:357: error: `glXGetProcAddress' undeclared (first use this function) +COpenGLDriver.cpp:357: error: (Each undeclared identifier is reported only once for each function it appears in.) +make: *** [COpenGLDriver.o] Error 1 + +Patch by Chris Statzer. + +http://bugs.gentoo.org/87015 + +--- COpenGLDriver.cpp ++++ COpenGLDriver.cpp +@@ -2,6 +2,7 @@ + + #include "IrrCompileConfig.h" + #ifdef _IRR_COMPILE_WITH_OPENGL_ ++#define glXGetProcAddress glXGetProcAddressARB + + #include "COpenGLTexture.h" + #include "COpenGLMaterialRenderer.h" diff --git a/dev-games/irrlicht/irrlicht-0.10.0.ebuild b/dev-games/irrlicht/irrlicht-0.10.0.ebuild new file mode 100644 index 000000000000..732f18ebb032 --- /dev/null +++ b/dev-games/irrlicht/irrlicht-0.10.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-0.10.0.ebuild,v 1.1 2005/06/07 03:33:04 vapier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="open source high performance realtime 3D engine written in C++" +HOMEPAGE="http://irrlicht.sourceforge.net/" +SRC_URI="mirror://sourceforge/irrlicht/${P}.zip + mirror://sourceforge/irrlicht/${P}.zip" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="doc" + +RDEPEND="media-libs/jpeg + media-libs/libpng + sys-libs/zlib + virtual/opengl + virtual/x11" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_unpack() { + unpack ${A} + cd "${S}"/source + unzip -qo source.zip || die "unpacking source.zip" + rm -f source.zip + cd Irrlicht + rm -r zlib jpeglib libpng + sed -i -e 's:zlib.zlib\.h:zlib.h:' CZipReader.cpp || die "zlib sed" + sed -i -e '/include/s:jpeglib/::' CImageLoaderJPG.h || die "jpeg sed" + sed -i -e '/include/s:libpng/::' CImageLoaderPNG.cpp || die "png sed" + sed -i -r \ + -e '/^CXXFLAGS/s:=:+=:' \ + -e '/^LINKOBJ/s:(zlib|jpeglib|libpng)/[^.]+\.o::g' \ + Makefile || die "sed objs" + + # stupid nvidia / xorg GL differences + if echo -e '#include <GL/glx.h>\nglXGetProcAddress blah;' | \ + $(tc-getCC) -E - | \ + grep -q glXGetProcAddressARB + then + epatch "${FILESDIR}"/${P}-opengl.patch + fi +} + +src_compile() { + emake -C source/Irrlicht || die "emake failed" +} + +src_install() { + dolib.a lib/Linux/libIrrlicht.a || die "dolib.a failed" + insinto /usr/include/${PN} + doins include/* || die "doins failed" + dodoc changes.txt readme.txt + if use doc ; then + cp -r examples media "${D}"/usr/share/doc/${PF}/ || die "cp failed" + fi +} |