diff options
author | 2006-11-16 02:57:18 +0000 | |
---|---|---|
committer | 2006-11-16 02:57:18 +0000 | |
commit | 1d909d9bde21349b74dcbe960ddb42fa1831877a (patch) | |
tree | ab7b75d0993352dc800048eb693a7df9fb7323ab /dev-games | |
parent | Marked ppc stable for bug #147570. (diff) | |
download | gentoo-2-1d909d9bde21349b74dcbe960ddb42fa1831877a.tar.gz gentoo-2-1d909d9bde21349b74dcbe960ddb42fa1831877a.tar.bz2 gentoo-2-1d909d9bde21349b74dcbe960ddb42fa1831877a.zip |
version bump (bug #155097)
(Portage version: 2.1.1-r1)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/ogre/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/ogre/files/digest-ogre-1.2.4 | 3 | ||||
-rw-r--r-- | dev-games/ogre/ogre-1.2.4.ebuild | 88 |
3 files changed, 97 insertions, 1 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog index 9f8e03d6b4e0..9a123b618ca2 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.31 2006/11/08 17:17:20 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.32 2006/11/16 02:57:18 mr_bones_ Exp $ + +*ogre-1.2.4 (16 Nov 2006) + + 16 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> +ogre-1.2.4.ebuild: + version bump (bug #155097) 08 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> ogre-1.2.3.ebuild: fix deps for test suite (bug #139895) diff --git a/dev-games/ogre/files/digest-ogre-1.2.4 b/dev-games/ogre/files/digest-ogre-1.2.4 new file mode 100644 index 000000000000..400823244294 --- /dev/null +++ b/dev-games/ogre/files/digest-ogre-1.2.4 @@ -0,0 +1,3 @@ +MD5 aba6c5ae16a35b5bd16024d6130814c2 ogre-linux_osx-v1-2-4.tar.bz2 23011395 +RMD160 141eabb0da3289f28a5e1958794c7db8bda9bcf1 ogre-linux_osx-v1-2-4.tar.bz2 23011395 +SHA256 dd7613af664d0cfaa6eeb66b8c9498e9f67b503d02850773acecfc0cefe0c548 ogre-linux_osx-v1-2-4.tar.bz2 23011395 diff --git a/dev-games/ogre/ogre-1.2.4.ebuild b/dev-games/ogre/ogre-1.2.4.ebuild new file mode 100644 index 000000000000..7a535f758714 --- /dev/null +++ b/dev-games/ogre/ogre-1.2.4.ebuild @@ -0,0 +1,88 @@ +# 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.4.ebuild,v 1.1 2006/11/16 02:57:18 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 test 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 ) + test? ( dev-util/cppunit )" + +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 +} |