diff options
author | David Holm <dholm@gentoo.org> | 2004-03-22 10:52:05 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2004-03-22 10:52:05 +0000 |
commit | 5f4a5e353103d0b6d5de8179df41964e2a7a7700 (patch) | |
tree | 9aedd6095ebce9f77a29141efff755b3ca70eba7 /dev-games | |
parent | Adding version 3.0.9 (Manifest recommit) (diff) | |
download | gentoo-2-5f4a5e353103d0b6d5de8179df41964e2a7a7700.tar.gz gentoo-2-5f4a5e353103d0b6d5de8179df41964e2a7a7700.tar.bz2 gentoo-2-5f4a5e353103d0b6d5de8179df41964e2a7a7700.zip |
Initial import
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/neoengine/ChangeLog | 10 | ||||
-rw-r--r-- | dev-games/neoengine/Manifest | 6 | ||||
-rw-r--r-- | dev-games/neoengine/files/0.7.0-execute.patch | 29 | ||||
-rw-r--r-- | dev-games/neoengine/files/0.7.0-ppc.patch | 65 | ||||
-rw-r--r-- | dev-games/neoengine/files/digest-neoengine-0.7.0 | 1 | ||||
-rw-r--r-- | dev-games/neoengine/metadata.xml | 10 | ||||
-rw-r--r-- | dev-games/neoengine/neoengine-0.7.0.ebuild | 53 |
7 files changed, 174 insertions, 0 deletions
diff --git a/dev-games/neoengine/ChangeLog b/dev-games/neoengine/ChangeLog new file mode 100644 index 000000000000..31e16df8f7ca --- /dev/null +++ b/dev-games/neoengine/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-games/neoengine +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/ChangeLog,v 1.1 2004/03/22 10:52:05 dholm Exp $ + +*neoengine-0.7.0 (22 Mar 2004) + + 22 Mar 2004; David Holm <dholm@gentoo.org> metadata.xml, + neoengine-0.7.0.ebuild, files/0.7.0-execute.patch, files/0.7.0-ppc.patch: + Initial import. + diff --git a/dev-games/neoengine/Manifest b/dev-games/neoengine/Manifest new file mode 100644 index 000000000000..cd80b85d68e9 --- /dev/null +++ b/dev-games/neoengine/Manifest @@ -0,0 +1,6 @@ +MD5 dcc640ef8957162801c2e5d0e7949cb0 neoengine-0.7.0.ebuild 1043 +MD5 cb4362fd483552bef1fd270bf9e9d2ce metadata.xml 719 +MD5 58453fd707c866edeb96cf020c16722c ChangeLog 314 +MD5 0b91b355776c52a872ecc19ddf88983d files/0.7.0-execute.patch 1091 +MD5 990103eb9645b5e60de0ddba37697ee4 files/0.7.0-ppc.patch 1906 +MD5 4f703ca7a7fdb63f9912eee2713f483d files/digest-neoengine-0.7.0 69 diff --git a/dev-games/neoengine/files/0.7.0-execute.patch b/dev-games/neoengine/files/0.7.0-execute.patch new file mode 100644 index 000000000000..144b4b612797 --- /dev/null +++ b/dev-games/neoengine/files/0.7.0-execute.patch @@ -0,0 +1,29 @@ +--- neoengine-0.7.0/neodevopengl/execute.cpp.orig 2004-01-22 21:52:19.000000000 +0100 ++++ neoengine-0.7.0/neodevopengl/execute.cpp 2004-03-22 00:33:19.000000000 +0100 +@@ -190,7 +190,7 @@ + + Program *pkProgram = static_cast< Program* >( (NeoEngine::Program*)pkMat->m_pkVertexProgram ); + +- pkProgram->Bind( pkOp ); ++ pkProgram->Bind( pkOp ); + + m_pkDevice->m_pkVertexProgram = pkProgram; + } +@@ -310,7 +310,7 @@ + for( ; uiLayer < m_pkDevice->m_uiNumTMUs; ++uiLayer ) + { + m_pkDevice->m_ppkTMU[ uiLayer ]->Disable(); +- m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( 0, uiLayer, 0 ); ++ m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( pkVertexBuffer, uiLayer, 0 ); + } + + //Render up to this layer +@@ -357,7 +357,7 @@ + for( ; uiLayer < m_pkDevice->m_uiNumTMUs; ++uiLayer ) + { + m_pkDevice->m_ppkTMU[ uiLayer ]->Disable(); +- m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( 0, uiLayer, 0 ); ++ m_pkDevice->m_pkVertexBufferManager->SetTexLayerPointer( pkVertexBuffer, uiLayer, 0 ); + } + } + diff --git a/dev-games/neoengine/files/0.7.0-ppc.patch b/dev-games/neoengine/files/0.7.0-ppc.patch new file mode 100644 index 000000000000..167df64aaf3d --- /dev/null +++ b/dev-games/neoengine/files/0.7.0-ppc.patch @@ -0,0 +1,65 @@ +diff -Naur neoengine-0.7.0.orig/neoengine/core.cpp neoengine-0.7.0/neoengine/core.cpp +--- neoengine-0.7.0.orig/neoengine/core.cpp 2004-01-22 21:53:18.000000000 +0100 ++++ neoengine-0.7.0/neoengine/core.cpp 2004-03-22 10:55:49.000000000 +0100 +@@ -55,11 +55,11 @@ + # include <windows.h> + # include <winsock2.h> + # undef ERROR +-#elif defined(POSIX) || defined(__APPLE__) ++#elif defined(POSIX) || defined(ARCH_PPC) + # include <sys/time.h> + #endif + +-#ifdef __APPLE__ ++#ifdef ARCH_PPC + # include <sys/sysctl.h> + #endif + +@@ -102,7 +102,7 @@ + + + Core::Core() : +-#ifdef __APPLE__ ++#ifdef ARCH_PPC + m_iHasAltiVec( 0 ), + #endif + +@@ -142,7 +142,7 @@ + #ifdef WIN32 + QueryPerformanceCounter( (LARGE_INTEGER*)&Timer::s_uliOldHeartbeatClock ); + QueryPerformanceFrequency( (LARGE_INTEGER*)&Timer::s_uliDivisor ); +-#elif defined(POSIX) || defined(__APPLE__) ++#elif defined(POSIX) || defined(ARCH_PPC) + timeval tv; + + gettimeofday( &tv, 0 ); +@@ -287,7 +287,7 @@ + << ( m_iHas3DNow ? "3DNow " : "" ) + << ( m_iHas3DNowEx ? "3DNowEx " : "" ) << endl; + +-#elif defined(ARCH_PPC) ++#elif defined(__APPLE__) + + int aiSel[2] = { CTL_HW, HW_VECTORUNIT }; + int iHasVecUnit = 0; +@@ -356,7 +356,7 @@ + neolog << LogLevel( DEBUG ) << " ... setting working directory to [" << strPath << "]" << endl; + #ifdef WIN32 + SetCurrentDirectory( strPath.c_str() ); +-#elif defined(POSIX) || defined(__APPLE__) ++#elif defined(POSIX) || defined(ARCH_PPC) + chdir( strPath.c_str() ); + #endif + } +diff -Naur neoengine-0.7.0.orig/neoengine/core.h neoengine-0.7.0/neoengine/core.h +--- neoengine-0.7.0.orig/neoengine/core.h 2004-01-21 09:40:51.000000000 +0100 ++++ neoengine-0.7.0/neoengine/core.h 2004-03-22 10:55:15.000000000 +0100 +@@ -121,7 +121,7 @@ + #endif + + +-#ifdef __APPLE__ ++#ifdef ARCH_PPC + + /*! Flag indicating AltiVec support in CPU */ + int m_iHasAltiVec; diff --git a/dev-games/neoengine/files/digest-neoengine-0.7.0 b/dev-games/neoengine/files/digest-neoengine-0.7.0 new file mode 100644 index 000000000000..5c81d9fcf358 --- /dev/null +++ b/dev-games/neoengine/files/digest-neoengine-0.7.0 @@ -0,0 +1 @@ +MD5 d48575d01b07389638b92b0782723709 neoengine-0.7.0.tar.bz2 1228371 diff --git a/dev-games/neoengine/metadata.xml b/dev-games/neoengine/metadata.xml new file mode 100644 index 000000000000..a053cedab05d --- /dev/null +++ b/dev-games/neoengine/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>dholm@gentoo.org</email> + <name>David Holm</name> +</maintainer> +<longdescription>NeoEngine is built with platform and API independency as the main goal. This means that if you build your game using the NeoEngine abstractions for services such as rendering, audio, file/resource management and networking, your game will run on all NeoEngine supported platforms with no changes to your game code. NeoEngine is also designed with an "open" API in mind. This means you can easily change, remove or add components you wish.</longdescription> +</pkgmetadata> diff --git a/dev-games/neoengine/neoengine-0.7.0.ebuild b/dev-games/neoengine/neoengine-0.7.0.ebuild new file mode 100644 index 000000000000..96debb9dd27e --- /dev/null +++ b/dev-games/neoengine/neoengine-0.7.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/neoengine-0.7.0.ebuild,v 1.1 2004/03/22 10:52:05 dholm Exp $ + +inherit eutils + +DESCRIPTION="An Open Source platform independent 3D game engine written in C++" +SRC_URI="mirror://sourceforge/neoengine/${P}.tar.bz2" +HOMEPAGE="http://www.neoengine.org/" +LICENSE="MPL-1.1" +DEPEND="virtual/opengl + media-libs/alsa-lib + doc? ( app-doc/doxygen )" +KEYWORDS="~ppc ~x86" +SLOT="0" +IUSE="doc" +RESTRICT="nomirror" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PV}-execute.patch + case ${ARCH} in + ppc) + epatch ${FILESDIR}/${PV}-ppc.patch + ;; + esac +} + +src_compile() { + econf || die "./configure failed" + emake || die "Compilation failed" + + if [ -n "`use doc`" ]; then + for i in "*.doxygen"; do + doxygen ${i}; + done + fi +} + +src_install () { + einstall || die "Installation failed" + + dodoc AUTHORS ChangeLog COPYING INSTALL README TODO + + if [ -n "`use doc`" ]; then + mkdir -p ${D}/usr/share/doc/${P} + for i in "*-api"; do + cp -r ${i} ${D}/usr/share/doc/${P}; + done + fi +} |