summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-07 08:11:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-07 08:11:37 +0000
commit6fb737be49c9c0d7bc192a3dac250d7bb1166a3c (patch)
treede1cd3d44b2530ecb45d6f2a9ebecf229bc838f9 /dev-games/ogre
parentDrop USE=bootstrap #256439. (diff)
downloadgentoo-2-6fb737be49c9c0d7bc192a3dac250d7bb1166a3c.tar.gz
gentoo-2-6fb737be49c9c0d7bc192a3dac250d7bb1166a3c.tar.bz2
gentoo-2-6fb737be49c9c0d7bc192a3dac250d7bb1166a3c.zip
version bump
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'dev-games/ogre')
-rw-r--r--dev-games/ogre/ChangeLog9
-rw-r--r--dev-games/ogre/ogre-1.6.1.ebuild83
2 files changed, 90 insertions, 2 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index e051b68d0e07..7f337fae74ee 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/ogre
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.54 2008/09/23 18:30:00 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.55 2009/02/07 08:11:37 mr_bones_ Exp $
+
+*ogre-1.6.1 (07 Feb 2009)
+
+ 07 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> +ogre-1.6.1.ebuild:
+ version bump
23 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org>
files/ogre-1.4.9-as-needed.patch, ogre-1.4.9.ebuild:
diff --git a/dev-games/ogre/ogre-1.6.1.ebuild b/dev-games/ogre/ogre-1.6.1.ebuild
new file mode 100644
index 000000000000..ebca486a801e
--- /dev/null
+++ b/dev-games/ogre/ogre-1.6.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.6.1.ebuild,v 1.1 2009/02/07 08:11:37 mr_bones_ Exp $
+
+EAPI=2
+inherit multilib eutils autotools flag-o-matic
+
+DESCRIPTION="Object-oriented Graphics Rendering Engine"
+HOMEPAGE="http://www.ogre3d.org/"
+SRC_URI="mirror://sourceforge/ogre/ogre-v${PV//./-}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc cegui cg devil double-precision examples gtk openexr threads"
+RESTRICT="test" #139905
+
+RDEPEND="dev-libs/zziplib
+ media-libs/freetype:2
+ virtual/opengl
+ virtual/glu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXrandr
+ x11-libs/libX11
+ cegui? ( >=dev-games/cegui-0.5 )
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ devil? ( media-libs/devil )
+ gtk? ( x11-libs/gtk+:2 )
+ openexr? ( media-libs/openexr )
+ threads? ( || ( >=dev-libs/boost-1.34.1 dev-libs/boost[threads] ) )"
+DEPEND="${RDEPEND}
+ x11-proto/xf86vidmodeproto
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ ecvs_clean
+ if use examples ; then
+ cp -r Samples install-examples || die
+ find install-examples \
+ '(' -name .keepme -o -name '*.cbp' -o -name '*.vcproj*' ')' \
+ -print0 | xargs -0 rm -rf
+ find install-examples -type d -print0 | xargs -0 rmdir 2> /dev/null
+ sed -i \
+ -e "s:/usr/local/lib/OGRE:/usr/$(get_libdir)/OGRE:" \
+ $(grep -rl /usr/local/lib/OGRE install-examples) \
+ || die "sed failed"
+ fi
+ sed -i -e '/CPPUNIT/d' configure.in || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ strip-flags
+ econf \
+ --disable-dependency-tracking \
+ --disable-freeimage \
+ --disable-ogre-demos \
+ --enable-static \
+ --with-platform=GLX \
+ --with-gui=$(usev gtk || echo Xt) \
+ $(use_enable cegui) \
+ $(use_enable cg) \
+ $(use_enable devil) \
+ $(use_enable double-precision double) \
+ $(use_enable openexr) \
+ $(use_enable threads threading)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r Docs/* || die "doins Docs failed"
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/Samples
+ doins -r install-examples/* || die "doins Samples failed"
+ fi
+ dodoc AUTHORS BUGS LINUX.DEV README
+}