summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-23 04:35:06 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-23 04:35:06 +0000
commitff0fa0386674018cbad86f3df30574dea5cbced9 (patch)
treede6cc369a203c2d7a7ce0881aa67d57ea6b9dc43 /dev-games
parentremove old builds (diff)
downloadhistorical-ff0fa0386674018cbad86f3df30574dea5cbced9.tar.gz
historical-ff0fa0386674018cbad86f3df30574dea5cbced9.tar.bz2
historical-ff0fa0386674018cbad86f3df30574dea5cbced9.zip
ver bump
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/irrlicht/ChangeLog7
-rw-r--r--dev-games/irrlicht/files/0.5-jpeg.patch10
-rw-r--r--dev-games/irrlicht/files/0.5-opengl.patch5
-rw-r--r--dev-games/irrlicht/files/0.5-system-libs.patch18
-rw-r--r--dev-games/irrlicht/files/digest-irrlicht-0.51
-rw-r--r--dev-games/irrlicht/irrlicht-0.5.ebuild47
-rw-r--r--dev-games/irrlicht/metadata.xml15
7 files changed, 102 insertions, 1 deletions
diff --git a/dev-games/irrlicht/ChangeLog b/dev-games/irrlicht/ChangeLog
index 5b32da5819f9..9b91e91c6373 100644
--- a/dev-games/irrlicht/ChangeLog
+++ b/dev-games/irrlicht/ChangeLog
@@ -1,6 +1,11 @@
# 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.1 2004/01/02 06:02:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.2 2004/02/23 04:35:06 vapier Exp $
+
+*irrlicht-0.5 (22 Feb 2004)
+
+ 22 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump by Alexander Arlt.
*irrlicht-0.4 (02 Jan 2003)
diff --git a/dev-games/irrlicht/files/0.5-jpeg.patch b/dev-games/irrlicht/files/0.5-jpeg.patch
new file mode 100644
index 000000000000..152a226553d5
--- /dev/null
+++ b/dev-games/irrlicht/files/0.5-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.5-opengl.patch b/dev-games/irrlicht/files/0.5-opengl.patch
new file mode 100644
index 000000000000..6e82ef74be0a
--- /dev/null
+++ b/dev-games/irrlicht/files/0.5-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.5-system-libs.patch b/dev-games/irrlicht/files/0.5-system-libs.patch
new file mode 100644
index 000000000000..dce4c4027b71
--- /dev/null
+++ b/dev-games/irrlicht/files/0.5-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.5 b/dev-games/irrlicht/files/digest-irrlicht-0.5
new file mode 100644
index 000000000000..c6782c56ca85
--- /dev/null
+++ b/dev-games/irrlicht/files/digest-irrlicht-0.5
@@ -0,0 +1 @@
+MD5 57398d83776e53afc5e52d340198c92b irrlicht-0.5.zip 10741280
diff --git a/dev-games/irrlicht/irrlicht-0.5.ebuild b/dev-games/irrlicht/irrlicht-0.5.ebuild
new file mode 100644
index 000000000000..4767963b0a34
--- /dev/null
+++ b/dev-games/irrlicht/irrlicht-0.5.ebuild
@@ -0,0 +1,47 @@
+# 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.5.ebuild,v 1.1 2004/02/23 04:35:06 vapier 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 ppc"
+IUSE="doc"
+
+DEPEND="media-libs/jpeg
+ sys-libs/zlib
+ virtual/opengl
+ virtual/x11"
+
+S=${WORKDIR}
+
+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}/
+}
diff --git a/dev-games/irrlicht/metadata.xml b/dev-games/irrlicht/metadata.xml
new file mode 100644
index 000000000000..9247e5c66efc
--- /dev/null
+++ b/dev-games/irrlicht/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription>
+The Irrlicht Engine is an open source high performance realtime 3D engine written in
+C++. It is completely cross-platform, using D3D, OpenGL and its own software renderer,
+and has all of the state-of-the-art features which can be found in commercial 3d
+engines.
+We've got a huge active community, and there are lots of games in development that use
+the engine. You can find enhancements for Irrlicht all over the web, like alternative
+terrain renderers, portal renderers, world layers, tutorials, editors, bindings for
+perl, ruby, python, and so on. And best of all: It's completely free.
+</longdescription>
+</pkgmetadata>