summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-06-26 17:08:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-06-26 17:08:05 +0000
commit904bae9b49a560ff71ee89060ffeb31cc588e1bc (patch)
tree735c736758175179959b7a641ec621bba09bb783 /dev-games/ogre
parentStable on sparc wrt #138011 (diff)
downloadgentoo-2-904bae9b49a560ff71ee89060ffeb31cc588e1bc.tar.gz
gentoo-2-904bae9b49a560ff71ee89060ffeb31cc588e1bc.tar.bz2
gentoo-2-904bae9b49a560ff71ee89060ffeb31cc588e1bc.zip
version bump (bug #126191) - ebuild submitted by Sergey Belyashov and Kevin Eeckman
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'dev-games/ogre')
-rw-r--r--dev-games/ogre/ChangeLog8
-rw-r--r--dev-games/ogre/files/digest-ogre-1.2.13
-rw-r--r--dev-games/ogre/ogre-1.2.1.ebuild72
3 files changed, 82 insertions, 1 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index 3bc2189dffab..48e479a96a56 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.25 2006/03/20 22:25:47 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.26 2006/06/26 17:08:05 mr_bones_ Exp $
+
+*ogre-1.2.1 (26 Jun 2006)
+
+ 26 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> +ogre-1.2.1.ebuild:
+ version bump (bug #126191) - ebuild submitted by Sergey Belyashov and Kevin
+ Eeckman
*ogre-1.0.7 (20 Mar 2006)
diff --git a/dev-games/ogre/files/digest-ogre-1.2.1 b/dev-games/ogre/files/digest-ogre-1.2.1
new file mode 100644
index 000000000000..24a710cb63d2
--- /dev/null
+++ b/dev-games/ogre/files/digest-ogre-1.2.1
@@ -0,0 +1,3 @@
+MD5 6ff98b1f14ca679ceaeec00daff2ff87 ogre-linux_osx-v1-2-1.tar.bz2 22844626
+RMD160 c34a9a32c8f8e3b98a5dc3c98649a45347bd1baf ogre-linux_osx-v1-2-1.tar.bz2 22844626
+SHA256 464467f46b555f6223ad4e2c68fe2f655c67f7aed6a8ce4eb03d5aa49c04dc32 ogre-linux_osx-v1-2-1.tar.bz2 22844626
diff --git a/dev-games/ogre/ogre-1.2.1.ebuild b/dev-games/ogre/ogre-1.2.1.ebuild
new file mode 100644
index 000000000000..f4c1c62e11c5
--- /dev/null
+++ b/dev-games/ogre/ogre-1.2.1.ebuild
@@ -0,0 +1,72 @@
+# 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.1.ebuild,v 1.1 2006/06/26 17:08:05 mr_bones_ Exp $
+
+inherit eutils
+
+MY_PV=${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 openexr sdl 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 )
+ sdl? ( >=media-libs/libsdl-1.2.8 )
+ 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"
+}
+
+src_compile() {
+ # For the config toolkit:
+ local mycfgtk="cli"
+
+ # For the renderer/platform manager:
+ local myplat="GLX"
+ use sdl && myplat="SDL"
+
+ econf \
+ --with-cfgtk=${mycfgtk} \
+ --with-platform=${myplat} \
+ $(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 Samples/Media/*
+ if use examples ; then
+ dohtml -r Docs/* Docs/Tutorials/*
+ insinto /usr/share/doc/${PF}/Samples
+ doins -r Samples/*
+ fi
+ dodoc AUTHORS BUGS LINUX.DEV README Docs/README.linux
+ dohtml Docs/*.html
+}