summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-07-25 02:01:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-07-25 02:01:47 +0000
commit274d8f6235059f072187f187fdebcb222a654b04 (patch)
tree56b387231be971fc6f6892d203a8b83e29d5c077 /dev-games
parentNew release: 0.4.2 (diff)
downloadgentoo-2-274d8f6235059f072187f187fdebcb222a654b04.tar.gz
gentoo-2-274d8f6235059f072187f187fdebcb222a654b04.tar.bz2
gentoo-2-274d8f6235059f072187f187fdebcb222a654b04.zip
version bump
(Portage version: 2.1.1_pre3-r4)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ogre/ChangeLog8
-rw-r--r--dev-games/ogre/files/digest-ogre-1.2.2_p13
-rw-r--r--dev-games/ogre/ogre-1.2.2_p1.ebuild76
3 files changed, 86 insertions, 1 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index 067ea7f4232e..f880d97ebc2f 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-games/ogre
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.28 2006/07/02 05:29:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.29 2006/07/25 02:01:47 mr_bones_ Exp $
+
+*ogre-1.2.2_p1 (25 Jul 2006)
+
+ 25 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +ogre-1.2.2_p1.ebuild:
+ version bump
02 Jul 2006; Mike Frysinger <vapier@gentoo.org>
+files/ogre-1.2.1-autoconf.patch, ogre-1.2.1.ebuild:
diff --git a/dev-games/ogre/files/digest-ogre-1.2.2_p1 b/dev-games/ogre/files/digest-ogre-1.2.2_p1
new file mode 100644
index 000000000000..bdc673276f68
--- /dev/null
+++ b/dev-games/ogre/files/digest-ogre-1.2.2_p1
@@ -0,0 +1,3 @@
+MD5 34004bdde39427e9a3213286f8cc057a ogre-linux_osx-v1-2-2p1.tar.bz2 22890671
+RMD160 80f479fa8b5fd420d69a2a630821b7e00704866a ogre-linux_osx-v1-2-2p1.tar.bz2 22890671
+SHA256 1c0c4f2a382301db1b7e89fc95e2a099a5a5891678923eabd0d72f26fc610547 ogre-linux_osx-v1-2-2p1.tar.bz2 22890671
diff --git a/dev-games/ogre/ogre-1.2.2_p1.ebuild b/dev-games/ogre/ogre-1.2.2_p1.ebuild
new file mode 100644
index 000000000000..d00bb5fb4c4a
--- /dev/null
+++ b/dev-games/ogre/ogre-1.2.2_p1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.2.2_p1.ebuild,v 1.1 2006/07/25 02:01:47 mr_bones_ Exp $
+
+inherit eutils
+
+MY_PV=${PV//./-}
+MY_PV=${MY_PV/_/}
+DESCRIPTION="Object-oriented Graphics Rendering Engine"
+HOMEPAGE="http://www.ogre3d.org/"
+SRC_URI="mirror://sourceforge/ogre/${PN}-linux_osx-v${MY_PV}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="cegui cg devil double-precision examples gtk openexr threads"
+
+RDEPEND=">=dev-libs/zziplib-0.13.36
+ >=media-libs/freetype-2.1.10
+ threads? ( >=dev-libs/boost-1.33.0 )
+ cegui? ( >=dev-games/cegui-0.4.0 )
+ devil? ( >=media-libs/devil-1.6.7 )
+ openexr? ( >=media-libs/openexr-1.2 )
+ gtk? ( >=dev-cpp/gtkmm-2.4 >=dev-cpp/libglademm-2.4 )
+ virtual/opengl
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/flex
+ cg? ( >=media-gfx/nvidia-cg-toolkit-1.2 )"
+
+S=${WORKDIR}/ogrenew
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ ./bootstrap || die "bootstrap failed"
+
+ if use examples ; then
+ cp -r Samples install-examples || die
+ find install-examples \
+ '(' -name 'Makefile*' -o -name CVS -o -name obj -o \
+ -name bin -o -name '*.cbp' -o -name '*.vcproj*' ')' \
+ -print0 | xargs -0 rm -rf
+ fi
+}
+
+src_compile() {
+ # For the config toolkit:
+ local mycfgtk="cli"
+ use gtk && mycfgtk="gtk"
+
+ econf \
+ --with-cfgtk=${mycfgtk} \
+ --with-platform=GLX \
+ $(use_enable devil) \
+ $(use_enable cg) \
+ $(use_enable openexr) \
+ $(use_enable threads threading) \
+ $(use_enable double-precision double) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ insinto /usr/share/OGRE/Media
+ doins -r Samples/Media/*
+ if use examples ; then
+ dohtml -r Docs/* Docs/Tutorials/*
+ insinto /usr/share/doc/${PF}/Samples
+ doins -r install-examples/*
+ fi
+ dodoc AUTHORS BUGS LINUX.DEV README Docs/README.linux
+ dohtml Docs/*.html
+}