summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-11-08 03:22:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-11-08 03:22:47 +0000
commitaf4645f2e033b99aed55b3ec8117e11526f844ce (patch)
tree91719f5d430dda821fdbc253206ca06767f75a50 /dev-games
parentmasking cups-1.2.6 for now (diff)
downloadgentoo-2-af4645f2e033b99aed55b3ec8117e11526f844ce.tar.gz
gentoo-2-af4645f2e033b99aed55b3ec8117e11526f844ce.tar.bz2
gentoo-2-af4645f2e033b99aed55b3ec8117e11526f844ce.zip
version bump (bug #148289)
(Portage version: 2.1.1-r1)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ogre/ChangeLog7
-rw-r--r--dev-games/ogre/files/digest-ogre-1.2.33
-rw-r--r--dev-games/ogre/ogre-1.2.3.ebuild87
3 files changed, 96 insertions, 1 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index f880d97ebc2f..1f303a294646 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,11 @@
# 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.29 2006/07/25 02:01:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.30 2006/11/08 03:22:46 mr_bones_ Exp $
+
+*ogre-1.2.3 (08 Nov 2006)
+
+ 08 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> +ogre-1.2.3.ebuild:
+ version bump (bug #148289)
*ogre-1.2.2_p1 (25 Jul 2006)
diff --git a/dev-games/ogre/files/digest-ogre-1.2.3 b/dev-games/ogre/files/digest-ogre-1.2.3
new file mode 100644
index 000000000000..2339a795adba
--- /dev/null
+++ b/dev-games/ogre/files/digest-ogre-1.2.3
@@ -0,0 +1,3 @@
+MD5 b2a8e3df61e2245c46457367a6b73ca0 ogre-linux_osx-v1-2-3.tar.bz2 22956123
+RMD160 c7029b28b9166c76d54e3e9378b353fd9a7d87d3 ogre-linux_osx-v1-2-3.tar.bz2 22956123
+SHA256 528c4050d3dc90ab34d7eb7c6dfb5cf1c8254a08b4f9195e063ced96f2a2a6a5 ogre-linux_osx-v1-2-3.tar.bz2 22956123
diff --git a/dev-games/ogre/ogre-1.2.3.ebuild b/dev-games/ogre/ogre-1.2.3.ebuild
new file mode 100644
index 000000000000..a0c0c360e519
--- /dev/null
+++ b/dev-games/ogre/ogre-1.2.3.ebuild
@@ -0,0 +1,87 @@
+# 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.3.ebuild,v 1.1 2006/11/08 03:22:46 mr_bones_ Exp $
+
+inherit eutils autotools
+
+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
+ x11-libs/libXaw x11-libs/libXrandr x11-libs/libXt x11-libs/libX11
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ x11-proto/xf86vidmodeproto
+ dev-util/pkgconfig
+ sys-devel/flex
+ cg? ( >=media-gfx/nvidia-cg-toolkit-1.2 )"
+
+S=${WORKDIR}/ogrenew
+
+pkg_setup() {
+ if use threads ; then
+ if ! built_with_use dev-libs/boost threads ; then
+ die "Please emerge dev-libs/boost with USE=threads"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ ./bootstrap || die "bootstrap failed"
+
+ find Samples/Media -name CVS -print0 | xargs -0 rm -rf
+ 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() {
+ emake DESTDIR="${D}" install || die "emake 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
+}