From 2f499e2f9fe9ee15c0740e46e269ec772b80ba51 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 12 Mar 2004 14:22:57 +0000 Subject: Bumped ~x86 to 0.6 version. Closing bug #44429. --- dev-games/irrlicht/ChangeLog | 10 ++++-- dev-games/irrlicht/Manifest | 11 +++++-- dev-games/irrlicht/files/0.6-jpeg.patch | 10 ++++++ dev-games/irrlicht/files/0.6-opengl.patch | 5 +++ dev-games/irrlicht/files/0.6-system-libs.patch | 18 +++++++++++ dev-games/irrlicht/files/digest-irrlicht-0.6 | 1 + dev-games/irrlicht/irrlicht-0.6.ebuild | 45 ++++++++++++++++++++++++++ 7 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 dev-games/irrlicht/files/0.6-jpeg.patch create mode 100644 dev-games/irrlicht/files/0.6-opengl.patch create mode 100644 dev-games/irrlicht/files/0.6-system-libs.patch create mode 100644 dev-games/irrlicht/files/digest-irrlicht-0.6 create mode 100644 dev-games/irrlicht/irrlicht-0.6.ebuild (limited to 'dev-games/irrlicht') 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 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/Manifest b/dev-games/irrlicht/Manifest index f029a1a9ab46..cc0dea1011c6 100644 --- a/dev-games/irrlicht/Manifest +++ b/dev-games/irrlicht/Manifest @@ -1,12 +1,17 @@ MD5 ebf17e5de7ceac05fdcbc9a24d32079b irrlicht-0.5.ebuild 1093 +MD5 7e83fd33f9453b9a93c11600867af9e7 irrlicht-0.4.ebuild 1096 +MD5 07ad6f38ab184837779b6044e92422a9 irrlicht-0.6.ebuild 1078 +MD5 15e95e59753a34d5ff5ff1787a0545d9 ChangeLog 697 +MD5 ad41838cd74c70f9c72295bda4662786 metadata.xml 790 MD5 3d0c46bd872601ae474803a089531688 files/0.5-opengl.patch 189 MD5 fa4aefc57679135f80c2762fcb2f0a74 files/0.4-jpeg.patch 540 MD5 7b37375664460afe01f8a7e43267fc32 files/0.5-system-libs.patch 608 MD5 198eb6eaae065c1fc596876e91e6edb2 files/digest-irrlicht-0.4 62 MD5 28cea3cba0224c39fac23e8735d46d52 files/digest-irrlicht-0.5 63 +MD5 649feea18262ca019ba09afd0e683da2 files/digest-irrlicht-0.6 63 MD5 3d0c46bd872601ae474803a089531688 files/0.4-opengl.patch 189 MD5 33d681a58fa24489d6bdf9f48346ed08 files/0.5-jpeg.patch 536 +MD5 33d681a58fa24489d6bdf9f48346ed08 files/0.6-jpeg.patch 536 +MD5 7b37375664460afe01f8a7e43267fc32 files/0.6-system-libs.patch 608 MD5 7b37375664460afe01f8a7e43267fc32 files/0.4-system-libs.patch 608 -MD5 7e83fd33f9453b9a93c11600867af9e7 irrlicht-0.4.ebuild 1096 -MD5 b8d3ee9afd9745521bafac7d071b8f24 ChangeLog 462 -MD5 ad41838cd74c70f9c72295bda4662786 metadata.xml 790 +MD5 3d0c46bd872601ae474803a089531688 files/0.6-opengl.patch 189 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}/ +} -- cgit v1.2.3-65-gdbad