diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-02 06:02:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-02 06:02:31 +0000 |
commit | 93daa153890c81046f60d65e419019331da71dd5 (patch) | |
tree | 5b52c0906b75a4b1039bc9542e55e33057877f98 /dev-games | |
parent | ver bump (diff) | |
download | historical-93daa153890c81046f60d65e419019331da71dd5.tar.gz historical-93daa153890c81046f60d65e419019331da71dd5.tar.bz2 historical-93daa153890c81046f60d65e419019331da71dd5.zip |
initial ebuild #35652
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/irrlicht/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/irrlicht/files/0.4-jpeg.patch | 10 | ||||
-rw-r--r-- | dev-games/irrlicht/files/0.4-opengl.patch | 5 | ||||
-rw-r--r-- | dev-games/irrlicht/files/0.4-system-libs.patch | 18 | ||||
-rw-r--r-- | dev-games/irrlicht/files/digest-irrlicht-0.4 | 1 | ||||
-rw-r--r-- | dev-games/irrlicht/irrlicht-0.4.ebuild | 47 |
6 files changed, 89 insertions, 0 deletions
diff --git a/dev-games/irrlicht/ChangeLog b/dev-games/irrlicht/ChangeLog new file mode 100644 index 000000000000..5b32da5819f9 --- /dev/null +++ b/dev-games/irrlicht/ChangeLog @@ -0,0 +1,8 @@ +# 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 $ + +*irrlicht-0.4 (02 Jan 2003) + + 02 Jan 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by #35652. diff --git a/dev-games/irrlicht/files/0.4-jpeg.patch b/dev-games/irrlicht/files/0.4-jpeg.patch new file mode 100644 index 000000000000..9fa6a7f64e25 --- /dev/null +++ b/dev-games/irrlicht/files/0.4-jpeg.patch @@ -0,0 +1,10 @@ +--- CSurfaceLoaderJPG.h.orig 2004-01-02 00:27:49.873066440 -0500 ++++ CSurfaceLoaderJPG.h 2004-01-02 00:27:56.236099112 -0500 +@@ -67 +67 @@ +- static u8 fill_input_buffer (j_decompress_ptr cinfo);
++ static boolean fill_input_buffer (j_decompress_ptr cinfo);
+--- CSurfaceLoaderJPG.cpp.orig 2004-01-02 00:26:38.162968032 -0500 ++++ CSurfaceLoaderJPG.cpp 2004-01-02 00:27:39.699613040 -0500 +@@ -43 +43 @@ +-u8 CSurfaceLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
++boolean CSurfaceLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
diff --git a/dev-games/irrlicht/files/0.4-opengl.patch b/dev-games/irrlicht/files/0.4-opengl.patch new file mode 100644 index 000000000000..6e82ef74be0a --- /dev/null +++ b/dev-games/irrlicht/files/0.4-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.4-system-libs.patch b/dev-games/irrlicht/files/0.4-system-libs.patch new file mode 100644 index 000000000000..dce4c4027b71 --- /dev/null +++ b/dev-games/irrlicht/files/0.4-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.4 b/dev-games/irrlicht/files/digest-irrlicht-0.4 new file mode 100644 index 000000000000..4d5051dc3f3f --- /dev/null +++ b/dev-games/irrlicht/files/digest-irrlicht-0.4 @@ -0,0 +1 @@ +MD5 63b9ba53be7977f562d88148b298479d irrlicht-0.4.zip 9516114 diff --git a/dev-games/irrlicht/irrlicht-0.4.ebuild b/dev-games/irrlicht/irrlicht-0.4.ebuild new file mode 100644 index 000000000000..609cd645d090 --- /dev/null +++ b/dev-games/irrlicht/irrlicht-0.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-0.4.ebuild,v 1.1 2004/01/02 06:02:31 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" +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}/ +} |