summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-17 10:03:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-17 10:03:27 +0000
commit3410b7b7b6dc2ffc0671d785fddb5836ceac3d86 (patch)
tree22993581cc931360ca6646230b3a3e3dd2e506ef /dev-games/irrlicht
parentFix bug 99110. (diff)
downloadgentoo-2-3410b7b7b6dc2ffc0671d785fddb5836ceac3d86.tar.gz
gentoo-2-3410b7b7b6dc2ffc0671d785fddb5836ceac3d86.tar.bz2
gentoo-2-3410b7b7b6dc2ffc0671d785fddb5836ceac3d86.zip
Version bump.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-games/irrlicht')
-rw-r--r--dev-games/irrlicht/ChangeLog7
-rw-r--r--dev-games/irrlicht/files/digest-irrlicht-0.11.01
-rw-r--r--dev-games/irrlicht/irrlicht-0.11.0.ebuild61
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-games/irrlicht/ChangeLog b/dev-games/irrlicht/ChangeLog
index 30db5259c782..be5469b5a26e 100644
--- a/dev-games/irrlicht/ChangeLog
+++ b/dev-games/irrlicht/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/irrlicht
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.12 2005/07/17 10:03:27 vapier Exp $
+
+*irrlicht-0.11.0 (17 Jul 2005)
+
+ 17 Jul 2005; Mike Frysinger <vapier@gentoo.org> +irrlicht-0.11.0.ebuild:
+ Version bump.
*irrlicht-0.10.0 (07 Jun 2005)
diff --git a/dev-games/irrlicht/files/digest-irrlicht-0.11.0 b/dev-games/irrlicht/files/digest-irrlicht-0.11.0
new file mode 100644
index 000000000000..d83cde6861b7
--- /dev/null
+++ b/dev-games/irrlicht/files/digest-irrlicht-0.11.0
@@ -0,0 +1 @@
+MD5 adec31a372f7636c4ee9fcb68169bbb3 irrlicht-0.11.0.zip 13598541
diff --git a/dev-games/irrlicht/irrlicht-0.11.0.ebuild b/dev-games/irrlicht/irrlicht-0.11.0.ebuild
new file mode 100644
index 000000000000..f2d0b2f1fdd2
--- /dev/null
+++ b/dev-games/irrlicht/irrlicht-0.11.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.11.0.ebuild,v 1.1 2005/07/17 10:03:27 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}"/${PN}-0.10.0-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
+}