summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van den Abeele <pvdabeel@gentoo.org>2004-10-02 14:01:25 +0000
committerPieter van den Abeele <pvdabeel@gentoo.org>2004-10-02 14:01:25 +0000
commitfc4a652ebebc33fcbfdefc811796cdc656da7350 (patch)
treea8f0df8b68038b7d3b2e567cfa1ee3facee8aff2 /dev-games
parentMarked stable on mips. (Manifest recommit) (diff)
downloadgentoo-2-fc4a652ebebc33fcbfdefc811796cdc656da7350.tar.gz
gentoo-2-fc4a652ebebc33fcbfdefc811796cdc656da7350.tar.bz2
gentoo-2-fc4a652ebebc33fcbfdefc811796cdc656da7350.zip
65377
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ogre/Manifest4
-rw-r--r--dev-games/ogre/files/digest-ogre-0.14.0-r11
-rw-r--r--dev-games/ogre/ogre-0.14.0-r1.ebuild67
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-games/ogre/Manifest b/dev-games/ogre/Manifest
index e14eb7a0aee2..9076ba53234a 100644
--- a/dev-games/ogre/Manifest
+++ b/dev-games/ogre/Manifest
@@ -2,7 +2,9 @@ MD5 0663927b8769730e75a171c006c078fb ChangeLog 1856
MD5 b11c4d3064c807f259eae5a15f61232a metadata.xml 4326
MD5 a6549b2ac2b9bdf86dd9c641cf62353e ogre-0.13.1.ebuild 1518
MD5 148961a1c1a99491973b2018a54497f6 ogre-0.14.0.ebuild 1418
+MD5 f6c4f52aa2321a3343bb7d9644ca8723 ogre-0.14.0-r1.ebuild 1448
MD5 0d32a739d9a15e9734ab1f73a763e150 files/0.13.1-nocg.patch 1535
+MD5 0d32a739d9a15e9734ab1f73a763e150 files/0.14.0-nocg.patch 1535
MD5 06fffa8ed37ab32945ac506d70dfa80e files/digest-ogre-0.13.1 77
MD5 a6eec2ad2bd89196e3b0493eaf9a1550 files/digest-ogre-0.14.0 77
-MD5 0d32a739d9a15e9734ab1f73a763e150 files/0.14.0-nocg.patch 1535
+MD5 a6eec2ad2bd89196e3b0493eaf9a1550 files/digest-ogre-0.14.0-r1 77
diff --git a/dev-games/ogre/files/digest-ogre-0.14.0-r1 b/dev-games/ogre/files/digest-ogre-0.14.0-r1
new file mode 100644
index 000000000000..e7508157e6c0
--- /dev/null
+++ b/dev-games/ogre/files/digest-ogre-0.14.0-r1
@@ -0,0 +1 @@
+MD5 4859fd0be1f9af42402589b44939afe5 ogre-linux_osx-v0-14-0.tar.bz2 23052370
diff --git a/dev-games/ogre/ogre-0.14.0-r1.ebuild b/dev-games/ogre/ogre-0.14.0-r1.ebuild
new file mode 100644
index 000000000000..f7197e0ee4c2
--- /dev/null
+++ b/dev-games/ogre/ogre-0.14.0-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-0.14.0-r1.ebuild,v 1.1 2004/10/02 14:01:25 pvdabeel Exp $
+
+inherit eutils
+
+DESCRIPTION="Object-oriented Graphics Rendering Engine"
+HOMEPAGE="http://www.ogre3d.org/"
+SRC_URI="mirror://sourceforge/ogre/${PN}-linux_osx-v${PV//./-}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ppc"
+IUSE="doc gtk"
+
+RDEPEND="virtual/opengl
+ media-libs/libsdl
+ =media-libs/freetype-2*
+ media-libs/devil
+ gtk? (
+ =dev-cpp/libglademm-2.0*
+ =dev-cpp/gtkmm-2* )
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ x86? ( >=media-gfx/nvidia-cg-toolkit-1.2 )
+ amd64? ( >=media-gfx/nvidia-cg-toolkit-1.2 )
+ >=sys-apps/sed-4
+ || (
+ dev-libs/STLport
+ >=sys-devel/gcc-3.0 )"
+
+S="${WORKDIR}/ogrenew"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ case "${ARCH}" in
+ x86 | amd64)
+ ;;
+ *)
+ einfo "Removing nVidia Cg dependency on this arch"
+ epatch "${FILESDIR}/${PV}-nocg.patch"
+ rm -rf ${S}/autom4te.cache
+ ./bootstrap
+ ;;
+ esac
+}
+
+src_compile() {
+ local myconf="cli"
+
+ use gtk && myconf="gtk"
+
+ econf --with-cfgtk=${myconf} || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ if use doc ; then
+ dohtml -r Docs/* Docs/Tutorials/*
+ fi
+ insinto /usr/share/OGRE/Media
+ doins Samples/Media/*
+ dodoc AUTHORS BUGS LINUX.DEV README Docs/README.linux
+ dohtml Docs/*.html
+}