Version bump, bug #166468
authorTristan Heaven <tristan@gentoo.org>
Wed, 4 Apr 2007 01:44:49 +0000 (01:44 +0000)
committerTristan Heaven <tristan@gentoo.org>
Wed, 4 Apr 2007 01:44:49 +0000 (01:44 +0000)
Package-Manager: portage-2.1.2.3

dev-games/ogre/ChangeLog
dev-games/ogre/Manifest
dev-games/ogre/files/digest-ogre-1.4.0 [new file with mode: 0644]
dev-games/ogre/files/ogre-1.4.0-cegui.patch [new file with mode: 0644]
dev-games/ogre/ogre-1.4.0.ebuild [new file with mode: 0644]

index 805e7fe5f3c1d2f0596b5af45510dd85ba53a2b9..4951615d7e5539f812369ee743d2ffe2f8599801 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-games/ogre
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.35 2007/02/14 20:13:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.36 2007/04/04 01:44:49 nyhm Exp $
+
+*ogre-1.4.0 (04 Apr 2007)
+
+  04 Apr 2007; Tristan Heaven <nyhm@gentoo.org>
+  +files/ogre-1.4.0-cegui.patch, +ogre-1.4.0.ebuild:
+  Version bump, bug #166468
 
   14 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org> ogre-1.2.5.ebuild:
   warn for USE=threads and die for USE="threads cegui" if cegui-0.5 is installed
index a9ef42adcd48a373a02d7667eff0ce64054c0633..1fde9c142915c7c26f90b485f8e2e6ef3ec0e4a3 100644 (file)
@@ -1,9 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX 0.15.1-nocg.patch 1535 RMD160 9969ea43bb6caa6cf19e297de2e60cf62c5a2d9e SHA1 07c4a8cac2a51aa369a2aef92ad484c4221ea339 SHA256 7b931bde184602cf09704685f7967827f24e32926ec8dc0a5411f8f24960279e
 MD5 0d32a739d9a15e9734ab1f73a763e150 files/0.15.1-nocg.patch 1535
 RMD160 9969ea43bb6caa6cf19e297de2e60cf62c5a2d9e files/0.15.1-nocg.patch 1535
 SHA256 7b931bde184602cf09704685f7967827f24e32926ec8dc0a5411f8f24960279e files/0.15.1-nocg.patch 1535
+AUX ogre-1.4.0-cegui.patch 542 RMD160 e187f9e824c7853f3cad8f2ab682b06d08ecdc56 SHA1 3abb6ebfdca868efffca1eb882955eef1af15efe SHA256 a8cc5d0779902231a027fa5e39c3ac2eb4c17f594e8b259d830940c53cb4eb96
+MD5 fdfb5745056c923cf983f726414044e9 files/ogre-1.4.0-cegui.patch 542
+RMD160 e187f9e824c7853f3cad8f2ab682b06d08ecdc56 files/ogre-1.4.0-cegui.patch 542
+SHA256 a8cc5d0779902231a027fa5e39c3ac2eb4c17f594e8b259d830940c53cb4eb96 files/ogre-1.4.0-cegui.patch 542
 DIST ogre-linux_osx-v0-15-1.tar.bz2 24570136 RMD160 19709f610e581c8cbfcfbbe8e4feed1e4bbb2e27 SHA1 c075e585dadd29a5c0271ccb97eb56e473c3271a SHA256 a55f724059feddc6fd51a588be8e2a839341a7c8b97bb2ee5774f4200b383915
 DIST ogre-linux_osx-v1-2-5.tar.bz2 22994042 RMD160 793d4a876a398e4b150fe50d2c4bde24997e3dce SHA1 0d4e1a0fa39ee6a5442b23b49d6e24c9408a876c SHA256 9c7a31d41b626ff276b975f52395d17ee561e2d1dbcf1f6698fcb25c154d2d33
+DIST ogre-linux_osx-v1-4-0.tar.bz2 28719937 RMD160 ab8b64e66d56b286a181bfa206adf0c26574872d SHA1 48898ab48d965b54e62bf45b348b79aabf93a937 SHA256 8e54ccc9fca82186933d9788559eb877c3ba7e487c198ae62ae1119ad1df9844
 EBUILD ogre-0.15.1.ebuild 1436 RMD160 6b1d571bd72c17a0e93a2a683cb78c81b4dbfeb0 SHA1 9b4bfa5a7d8f389e6cf4b4f01d25e4a946de3dc3 SHA256 f5705dcac9ff289e48f02ce9b402f33eeb93964cf9702d93fd8ff656ab1030b4
 MD5 0b1ac52dc3bcf567017d7f496464eb81 ogre-0.15.1.ebuild 1436
 RMD160 6b1d571bd72c17a0e93a2a683cb78c81b4dbfeb0 ogre-0.15.1.ebuild 1436
@@ -12,10 +20,14 @@ EBUILD ogre-1.2.5.ebuild 2967 RMD160 be9414cccc3a3343970b71259a95d4ccd2df66c4 SH
 MD5 a25db2dce6d564ffe79c14540a032e7d ogre-1.2.5.ebuild 2967
 RMD160 be9414cccc3a3343970b71259a95d4ccd2df66c4 ogre-1.2.5.ebuild 2967
 SHA256 72a2853f63d1ec91613e51c89f33842b5a53c9b154ec96dc92129942ce3b917d ogre-1.2.5.ebuild 2967
-MISC ChangeLog 4976 RMD160 9b2005bcb3c6e5ca58015b600f27f76dfaf96f26 SHA1 2c465af8808f26b3c1a63c189d80cc35a9dc7305 SHA256 35db9d18e2abd04018da1e9c0e6bbfd9d75cb25474e44635d793e34f8dff9161
-MD5 970ae26d032eb0c5103838ef6734a85c ChangeLog 4976
-RMD160 9b2005bcb3c6e5ca58015b600f27f76dfaf96f26 ChangeLog 4976
-SHA256 35db9d18e2abd04018da1e9c0e6bbfd9d75cb25474e44635d793e34f8dff9161 ChangeLog 4976
+EBUILD ogre-1.4.0.ebuild 2692 RMD160 971e30d1172073be8e8de17f30d817b16cf99ab5 SHA1 362148c85f976d0379544eff04e21b702e3aa548 SHA256 c8c83dac7186aee2d7a2dc36dd33505cbd38ccd91c40f2529a7f9b3351375952
+MD5 e099f5a52503db8a88f870ab5e901c72 ogre-1.4.0.ebuild 2692
+RMD160 971e30d1172073be8e8de17f30d817b16cf99ab5 ogre-1.4.0.ebuild 2692
+SHA256 c8c83dac7186aee2d7a2dc36dd33505cbd38ccd91c40f2529a7f9b3351375952 ogre-1.4.0.ebuild 2692
+MISC ChangeLog 5128 RMD160 ae274aefe5ba31d7ff1910287a14f4d072616c6c SHA1 09c0c12d2a424a3c5eac6e7177d6cd545713d363 SHA256 f3d83bbb5b280758b4467b1e2c74e60a36f7f076b677522cf62a849ff3ea2b4c
+MD5 e695b77852d54f3372db1fa28ac1179f ChangeLog 5128
+RMD160 ae274aefe5ba31d7ff1910287a14f4d072616c6c ChangeLog 5128
+SHA256 f3d83bbb5b280758b4467b1e2c74e60a36f7f076b677522cf62a849ff3ea2b4c ChangeLog 5128
 MISC metadata.xml 4236 RMD160 5d2bac49f866b24ea847eab24df427f1f84db1cf SHA1 de49ea9fb17aa117ce25f685ae76062bea60b91f SHA256 3d5b0d15c24a55959278cf092bb62bfd109da2db4fcc8a07a7c6ccf449624981
 MD5 e7475f1eeda170514de47a940cb77420 metadata.xml 4236
 RMD160 5d2bac49f866b24ea847eab24df427f1f84db1cf metadata.xml 4236
@@ -26,3 +38,13 @@ SHA256 1576201669beb416fcceef86a919d6e5e75c27e0793d9b858ddd4ea6b23a6f7c files/di
 MD5 7cb88b6724444e3830efdc0f0cc25f27 files/digest-ogre-1.2.5 274
 RMD160 e45d2a00a11b91f6bb8646a59e4c363d82fe6fe6 files/digest-ogre-1.2.5 274
 SHA256 15c9c0c781f81d30da14d3be2cece909862c66d5e14967af3782f4beed1c2898 files/digest-ogre-1.2.5 274
+MD5 e119b227ebb41435daf124813e9e26c5 files/digest-ogre-1.4.0 274
+RMD160 a7e00165eeadf94c0bccf2deabcccd0da841b221 files/digest-ogre-1.4.0 274
+SHA256 a7070d72e89d84b7793e73961c2ea4af968c9b53d607b7ce10a200cd377fb3ef files/digest-ogre-1.4.0 274
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGEwMbdz7hIScOURERAsD3AJwMMa4iHNTjQGkq06xSSK1EcGJ/NQCgpQSy
+BBI09HxSq9DBmyhyueNbvDA=
+=fmvE
+-----END PGP SIGNATURE-----
diff --git a/dev-games/ogre/files/digest-ogre-1.4.0 b/dev-games/ogre/files/digest-ogre-1.4.0
new file mode 100644 (file)
index 0000000..e995479
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 125d85992d95eda9c5ef2d65c4481a92 ogre-linux_osx-v1-4-0.tar.bz2 28719937
+RMD160 ab8b64e66d56b286a181bfa206adf0c26574872d ogre-linux_osx-v1-4-0.tar.bz2 28719937
+SHA256 8e54ccc9fca82186933d9788559eb877c3ba7e487c198ae62ae1119ad1df9844 ogre-linux_osx-v1-4-0.tar.bz2 28719937
diff --git a/dev-games/ogre/files/ogre-1.4.0-cegui.patch b/dev-games/ogre/files/ogre-1.4.0-cegui.patch
new file mode 100644 (file)
index 0000000..c089164
--- /dev/null
@@ -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.0.ebuild b/dev-games/ogre/ogre-1.4.0.ebuild
new file mode 100644 (file)
index 0000000..fc569da
--- /dev/null
@@ -0,0 +1,99 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.0.ebuild,v 1.1 2007/04/04 01:44:49 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="~x86"
+IUSE="doc cegui cg double-precision examples freeimage gtk openexr threads"
+RESTRICT="test" #139905
+
+RDEPEND="dev-libs/zziplib
+       >=media-libs/freetype-2.1.10
+       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 )
+       freeimage? ( media-libs/freeimage )
+       gtk? (
+               >=dev-cpp/gtkmm-2.4
+               >=dev-cpp/libglademm-2.4
+       )
+       openexr? ( >=media-libs/openexr-1.2 )
+       threads? ( dev-libs/boost )"
+DEPEND="${RDEPEND}
+       x11-proto/xf86vidmodeproto
+       dev-util/pkgconfig"
+
+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
+               ewarn "Threads support is experimental in ${PN} and is not recommended."
+               ewarn "See http://bugs.gentoo.org/show_bug.cgi?id=144819"
+               ewarn "Read the man page for portage by typing \"man portage\""
+               ewarn "and read about /etc/portage/package.use for disabling"
+               ewarn "the threads use flag for ${PN} without affecting other packages."
+               ebeep
+               epause 10
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       find -name CVS -print0 | xargs -0 rm -rf
+       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-ogre-demos \
+               --enable-static \
+               --with-platform=GLX \
+               --with-gui=$(usev gtk || echo Xt) \
+               $(use_enable cegui) \
+               $(use_enable cg) \
+               $(use_enable double-precision double) \
+               $(use_enable freeimage) \
+               $(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
+}