summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/irrlicht/ChangeLog10
-rw-r--r--dev-games/irrlicht/files/0.6-jpeg.patch10
-rw-r--r--dev-games/irrlicht/files/0.6-opengl.patch5
-rw-r--r--dev-games/irrlicht/files/0.6-system-libs.patch18
-rw-r--r--dev-games/irrlicht/files/digest-irrlicht-0.61
-rw-r--r--dev-games/irrlicht/irrlicht-0.6.ebuild45
6 files changed, 87 insertions, 2 deletions
diff --git a/dev-games/irrlicht/ChangeLog b/dev-games/irrlicht/ChangeLog
index 9b91e91c6373..37be0c2fead7 100644
--- a/dev-games/irrlicht/ChangeLog
+++ b/dev-games/irrlicht/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-games/irrlicht
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.2 2004/02/23 04:35:06 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.3 2004/03/12 14:22:56 wolf31o2 Exp $
+
+*irrlicht-0.6 (12 Mar 2004)
+
+ 12 Mar 2004; Chris Gianelloni <wolf31o2@gentoo.org> irrlicht-0.6.ebuild,
+ files/0.6-jpeg.patch, files/0.6-opengl.patch, files/0.6-system-libs.patch:
+ Bumped ~x86 to 0.6 version. Closing bug #44429.
*irrlicht-0.5 (22 Feb 2004)
diff --git a/dev-games/irrlicht/files/0.6-jpeg.patch b/dev-games/irrlicht/files/0.6-jpeg.patch
new file mode 100644
index 000000000000..152a226553d5
--- /dev/null
+++ b/dev-games/irrlicht/files/0.6-jpeg.patch
@@ -0,0 +1,10 @@
+--- CImageLoaderJPG.cpp.orig 2003-12-12 19:46:00.000000000 +0100
++++ CImageLoaderJPG.cpp 2004-02-23 02:32:05.000000000 +0100
+@@ -44,1 +44,1 @@
+-u8 CImageLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
++boolean CImageLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
+--- CImageLoaderJPG.h.orig 2003-12-20 14:21:00.000000000 +0100
++++ CImageLoaderJPG.h 2004-02-23 02:32:48.000000000 +0100
+@@ -67,1 +67,1 @@
+- static u8 fill_input_buffer (j_decompress_ptr cinfo);
++ static boolean fill_input_buffer (j_decompress_ptr cinfo);
diff --git a/dev-games/irrlicht/files/0.6-opengl.patch b/dev-games/irrlicht/files/0.6-opengl.patch
new file mode 100644
index 000000000000..6e82ef74be0a
--- /dev/null
+++ b/dev-games/irrlicht/files/0.6-opengl.patch
@@ -0,0 +1,5 @@
+--- CVideoOpenGL.cpp.orig 2004-01-02 00:40:54.697754952 -0500
++++ CVideoOpenGL.cpp 2004-01-02 00:40:16.800516208 -0500
+@@ -0,0 +1,2 @@
++#define GL_GLEXT_LEGACY
++#define GL_GLEXT_PROTOTYPES
diff --git a/dev-games/irrlicht/files/0.6-system-libs.patch b/dev-games/irrlicht/files/0.6-system-libs.patch
new file mode 100644
index 000000000000..dce4c4027b71
--- /dev/null
+++ b/dev-games/irrlicht/files/0.6-system-libs.patch
@@ -0,0 +1,18 @@
+--- Makefile.orig 2004-01-02 00:15:41.810748736 -0500
++++ Makefile 2004-01-02 00:17:02.681454520 -0500
+@@ -6,14 +6,10 @@
+ LIBS = -L"/usr/X11R6/lib" -L"jpeglib" -L"zlib" --no-export-all-symbols --add-stdcall-alias -lGL -lXxf86vm -lz -ljpeg
+ CXXINCS = -I"include/"
+ BIN = libIrrlicht.a
+-CXXFLAGS = $(CXXINCS) -DIRRLICHT_EXPORTS=1
++CXXFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1
+
+ all: $(LINKOBJ) $(BIN)
+- make -C jpeglib -f makefile.ansi libjpeg.a
+- make -C zlib -f Makefile
+ cp libIrrlicht.a ../lib/Linux/
+- cp zlib/libz.a ../lib/Linux
+- cp jpeglib/libjpeg.a ../lib/Linux
+
+ clean:
+ rm -f $(LINKOBJ) $(BIN)
diff --git a/dev-games/irrlicht/files/digest-irrlicht-0.6 b/dev-games/irrlicht/files/digest-irrlicht-0.6
new file mode 100644
index 000000000000..5eeb980c1807
--- /dev/null
+++ b/dev-games/irrlicht/files/digest-irrlicht-0.6
@@ -0,0 +1 @@
+MD5 561712d3be7182a5c4cf18414caf9c46 irrlicht-0.6.zip 10505981
diff --git a/dev-games/irrlicht/irrlicht-0.6.ebuild b/dev-games/irrlicht/irrlicht-0.6.ebuild
new file mode 100644
index 000000000000..2ace90336c03
--- /dev/null
+++ b/dev-games/irrlicht/irrlicht-0.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-0.6.ebuild,v 1.1 2004/03/12 14:22:56 wolf31o2 Exp $
+
+inherit eutils
+
+DESCRIPTION="open source high performance realtime 3D engine written in C++"
+HOMEPAGE="http://irrlicht.sourceforge.net/"
+SRC_URI="mirror://sourceforge/irrlicht/${P}.zip"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="media-libs/jpeg
+ sys-libs/zlib
+ virtual/opengl
+ virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cd source
+ unzip -qo source.zip || die "unpacking source.zip"
+ rm -rf source.zip zlib jpeglib
+ ln -s /usr/include jpeglib
+ ln -s /usr/include zlib
+ epatch ${FILESDIR}/${PV}-system-libs.patch
+ epatch ${FILESDIR}/${PV}-jpeg.patch
+ epatch ${FILESDIR}/${PV}-opengl.patch
+}
+
+src_compile() {
+ cd source
+ emake || die
+}
+
+src_install() {
+ dolib.a lib/Linux/libIrrlicht.a
+ insinto /usr/include/${PN}
+ doins include/*
+ dodoc changes.txt readme.txt
+ use doc && cp -r examples media ${D}/usr/share/doc/${PF}/
+}