summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-03-18 21:58:45 +0000
committerTristan Heaven <tristan@gentoo.org>2008-03-18 21:58:45 +0000
commit3229baf08b619c20eea3d5ef28f947aaf90d27ca (patch)
tree4f781d6f1ecb5b6f95f04f75f00ee2d2adb4251b /dev-games
parentVersion bump as 2.9.6 had a bad default that enabled lazy-counts and then the... (diff)
downloadhistorical-3229baf08b619c20eea3d5ef28f947aaf90d27ca.tar.gz
historical-3229baf08b619c20eea3d5ef28f947aaf90d27ca.tar.bz2
historical-3229baf08b619c20eea3d5ef28f947aaf90d27ca.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ogre/ChangeLog8
-rw-r--r--dev-games/ogre/Manifest15
-rw-r--r--dev-games/ogre/files/ogre-1.4.7-cegui.patch19
-rw-r--r--dev-games/ogre/ogre-1.4.7.ebuild90
4 files changed, 130 insertions, 2 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index a0b026b0169c..e2ae46032d1d 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,12 @@
# 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.45 2008/01/16 11:39:13 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.46 2008/03/18 21:58:44 nyhm Exp $
+
+*ogre-1.4.7 (18 Mar 2008)
+
+ 18 Mar 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/ogre-1.4.7-cegui.patch, +ogre-1.4.7.ebuild:
+ Version bump
*ogre-1.4.6 (16 Jan 2008)
diff --git a/dev-games/ogre/Manifest b/dev-games/ogre/Manifest
index 730536081110..46cbfcd5df04 100644
--- a/dev-games/ogre/Manifest
+++ b/dev-games/ogre/Manifest
@@ -1,8 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 0.15.1-nocg.patch 1535 RMD160 9969ea43bb6caa6cf19e297de2e60cf62c5a2d9e SHA1 07c4a8cac2a51aa369a2aef92ad484c4221ea339 SHA256 7b931bde184602cf09704685f7967827f24e32926ec8dc0a5411f8f24960279e
AUX ogre-1.4.6-cegui.patch 542 RMD160 e187f9e824c7853f3cad8f2ab682b06d08ecdc56 SHA1 3abb6ebfdca868efffca1eb882955eef1af15efe SHA256 a8cc5d0779902231a027fa5e39c3ac2eb4c17f594e8b259d830940c53cb4eb96
+AUX ogre-1.4.7-cegui.patch 542 RMD160 e187f9e824c7853f3cad8f2ab682b06d08ecdc56 SHA1 3abb6ebfdca868efffca1eb882955eef1af15efe SHA256 a8cc5d0779902231a027fa5e39c3ac2eb4c17f594e8b259d830940c53cb4eb96
DIST ogre-linux_osx-v0-15-1.tar.bz2 24570136 RMD160 19709f610e581c8cbfcfbbe8e4feed1e4bbb2e27 SHA1 c075e585dadd29a5c0271ccb97eb56e473c3271a SHA256 a55f724059feddc6fd51a588be8e2a839341a7c8b97bb2ee5774f4200b383915
DIST ogre-linux_osx-v1-4-6.tar.bz2 29142327 RMD160 df29b98b4c4efa1befb496d303f20d71ff04c702 SHA1 4221ccbb2121e6972c105bfa1ed1faebfc419b33 SHA256 4da478ab66e7dcbd797cfc38fa60575107a7478026b4a89a227f1363b5f963f2
+DIST ogre-linux_osx-v1-4-7.tar.bz2 28804286 RMD160 4882a18ca8a4f6037fd0c3eef6c9b0fb026436fb SHA1 d40c6c6500742aef8bb201265362d381ba2b7001 SHA256 bf23a33ae53715ddb77cb06148c9c7a681c685c90227163aa8ce9af1c993b0cf
EBUILD ogre-0.15.1.ebuild 1436 RMD160 6b1d571bd72c17a0e93a2a683cb78c81b4dbfeb0 SHA1 9b4bfa5a7d8f389e6cf4b4f01d25e4a946de3dc3 SHA256 f5705dcac9ff289e48f02ce9b402f33eeb93964cf9702d93fd8ff656ab1030b4
EBUILD ogre-1.4.6.ebuild 2341 RMD160 037a7addad9b4ab9465e8c68d96f40a693467f98 SHA1 2e675e8991c13becfb36771d5a5549ada526ba31 SHA256 f67f870957f642f6650af79101f1a0313f6575b681054ba8f6106c0ede4b9711
-MISC ChangeLog 6484 RMD160 f5e14a488c01331f00b5e163b89cbd1ca3061089 SHA1 2230d799f4cdda793651aa2cdd9932129a83bcbe SHA256 ccd08c5775f963b8e82cfa2f48a0c414873ff09c1183ed79fff516ae0b202d33
+EBUILD ogre-1.4.7.ebuild 2300 RMD160 54807674246438cca09ebc3d224e8e3096348d42 SHA1 3d59b442d983cf6e5fd78f173ba28cf73daaa1e8 SHA256 3634564225d96722a8360586ec979ef2609c6f09dbb90d8b771dbb78f703456e
+MISC ChangeLog 6628 RMD160 89e2ee980a3c4922cbea916a1eeb5e376b6359e7 SHA1 884bb2d8c217510935e9c8d6d900991ad0259cbb SHA256 c97797c2f09277c160e41a431b0e55bea6857ae72de1252e7a4688400b30b16e
MISC metadata.xml 4236 RMD160 5d2bac49f866b24ea847eab24df427f1f84db1cf SHA1 de49ea9fb17aa117ce25f685ae76062bea60b91f SHA256 3d5b0d15c24a55959278cf092bb62bfd109da2db4fcc8a07a7c6ccf449624981
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH4Dsbdz7hIScOURERAu6eAJ491bCX1dRgL5Fb5ePvmV3pjoPXLgCg6cd9
+9oXY5Dw3izEC+zrdrtJlfJQ=
+=i4UP
+-----END PGP SIGNATURE-----
diff --git a/dev-games/ogre/files/ogre-1.4.7-cegui.patch b/dev-games/ogre/files/ogre-1.4.7-cegui.patch
new file mode 100644
index 000000000000..c089164af219
--- /dev/null
+++ b/dev-games/ogre/files/ogre-1.4.7-cegui.patch
@@ -0,0 +1,19 @@
+--- acinclude.m4
++++ acinclude.m4
+@@ -411,6 +411,8 @@
+ ])
+
+ AC_DEFUN([OGRE_CHECK_CEGUI], [
++ AC_ARG_ENABLE(cegui)
++ if test x$enable_cegui != xno; then
+ PKG_CHECK_MODULES(CEGUI, CEGUI >= 0.5.0,
+ [build_cegui_sample=true], [build_cegui_sample=false])
+ if test x$build_cegui_sample = xtrue; then
+@@ -426,6 +428,7 @@
+ else
+ AC_MSG_RESULT([CEGUI not available, Gui and FacialAnimation samples will not be built])
+ fi
++ fi
+ AM_CONDITIONAL([HAVE_CEGUI], [test x$build_cegui_sample = xtrue])
+ ])
+
diff --git a/dev-games/ogre/ogre-1.4.7.ebuild b/dev-games/ogre/ogre-1.4.7.ebuild
new file mode 100644
index 000000000000..ee2e330afab4
--- /dev/null
+++ b/dev-games/ogre/ogre-1.4.7.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.7.ebuild,v 1.1 2008/03/18 21:58:44 nyhm Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Object-oriented Graphics Rendering Engine"
+HOMEPAGE="http://www.ogre3d.org/"
+SRC_URI="mirror://sourceforge/ogre/ogre-linux_osx-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 )"
+DEPEND="${RDEPEND}
+ x11-proto/xf86vidmodeproto
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/ogrenew
+
+pkg_setup() {
+ if use threads && has_version "<dev-libs/boost-1.34" && \
+ ! built_with_use dev-libs/boost threads
+ then
+ die "Please emerge dev-libs/boost with USE=threads"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ ecvs_clean
+ if use examples ; then
+ cp -r Samples install-examples || die
+ find install-examples \
+ '(' -name 'Makefile*' -o -name obj -o \
+ -name bin -o -name '*.cbp' -o -name '*.vcproj*' ')' \
+ -print0 | xargs -0 rm -rf
+ fi
+ sed -i '/CPPUNIT/d' configure.in || die "sed failed"
+ epatch "${FILESDIR}"/${P}-cegui.patch
+ eautoreconf
+}
+
+src_compile() {
+ 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) \
+ || die
+ emake || die "emake failed"
+}
+
+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
+}