Initial import. Original ebuild by Christoph Brill <egore@gmx.de> and edited by...
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 6 Sep 2006 19:29:19 +0000 (19:29 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 6 Sep 2006 19:29:19 +0000 (19:29 +0000)
Package-Manager: portage-2.1.1_rc1-r1

dev-games/newton/ChangeLog [new file with mode: 0644]
dev-games/newton/Manifest [new file with mode: 0644]
dev-games/newton/files/digest-newton-1.53 [new file with mode: 0644]
dev-games/newton/metadata.xml [new file with mode: 0644]
dev-games/newton/newton-1.53.ebuild [new file with mode: 0644]

diff --git a/dev-games/newton/ChangeLog b/dev-games/newton/ChangeLog
new file mode 100644 (file)
index 0000000..237ec4e
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for dev-games/newton
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/newton/ChangeLog,v 1.1 2006/09/06 19:29:19 wolf31o2 Exp $
+
+*newton-1.53 (06 Sep 2006)
+
+  06 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+  +newton-1.53.ebuild:
+  Initial import. Original ebuild by Christoph Brill <egore@gmx.de> and edited
+  by me. Closing bug #100889.
+
diff --git a/dev-games/newton/Manifest b/dev-games/newton/Manifest
new file mode 100644 (file)
index 0000000..34e9f4f
--- /dev/null
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST newtonLinux-1.53.tar.gz 16271012 RMD160 7dfabdd9b4823dfbf0103ec3334bf4c42901d8b0 SHA1 2f833f7152702d46edcf4b5ba179a941effb73ce SHA256 5f7616a4d8fcdc8339f2c799caf1ee98d6e167046d2a05299082d5cc5e130bf6
+EBUILD newton-1.53.ebuild 2050 RMD160 ba0b17c0f1c1320eceaf8b5233a7499b16c21a15 SHA1 b81f0cade304501647a25de65d81829877819d62 SHA256 7231100c162bd47844bf0387198caf65e49916235fe196ae4f40a1afedd83902
+MD5 1f5cea588ac0f6680ab92dcb383271a7 newton-1.53.ebuild 2050
+RMD160 ba0b17c0f1c1320eceaf8b5233a7499b16c21a15 newton-1.53.ebuild 2050
+SHA256 7231100c162bd47844bf0387198caf65e49916235fe196ae4f40a1afedd83902 newton-1.53.ebuild 2050
+MISC ChangeLog 437 RMD160 f9a5f029f3e50cbadd7908490bb60283e69c4c88 SHA1 e1d098a6f2f221560cd8c5d2eb1bb79a287cc062 SHA256 f904a1d35abfbb728b0a8a07173c8e05c1a5ea4cd0480ac27cc3ec8d40bc931e
+MD5 305e26c23081b871d41ab61a90269973 ChangeLog 437
+RMD160 f9a5f029f3e50cbadd7908490bb60283e69c4c88 ChangeLog 437
+SHA256 f904a1d35abfbb728b0a8a07173c8e05c1a5ea4cd0480ac27cc3ec8d40bc931e ChangeLog 437
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 096b587c8dfca60539a7c8bcfdb0df50 files/digest-newton-1.53 256
+RMD160 77b75b3d67f623184bc01f809adcb51c722436f4 files/digest-newton-1.53 256
+SHA256 cf3dde7a2d5e46e873e5ace0c382e680ce1f601d938175b78c0a01ff82602b3b files/digest-newton-1.53 256
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFE/yGukT4lNIS36YERAgmhAJ9dVzxVJZEjSAzA4CpI9Pdv1yBzfgCfcjpF
+LbIh/TahExR+hKlsYTFerYs=
+=ZU5C
+-----END PGP SIGNATURE-----
diff --git a/dev-games/newton/files/digest-newton-1.53 b/dev-games/newton/files/digest-newton-1.53
new file mode 100644 (file)
index 0000000..2ffd5db
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 5cf500af56dac5a63e3e328d79dc3f38 newtonLinux-1.53.tar.gz 16271012
+RMD160 7dfabdd9b4823dfbf0103ec3334bf4c42901d8b0 newtonLinux-1.53.tar.gz 16271012
+SHA256 5f7616a4d8fcdc8339f2c799caf1ee98d6e167046d2a05299082d5cc5e130bf6 newtonLinux-1.53.tar.gz 16271012
diff --git a/dev-games/newton/metadata.xml b/dev-games/newton/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/dev-games/newton/newton-1.53.ebuild b/dev-games/newton/newton-1.53.ebuild
new file mode 100644 (file)
index 0000000..97f94d5
--- /dev/null
@@ -0,0 +1,83 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/newton/newton-1.53.ebuild,v 1.1 2006/09/06 19:29:19 wolf31o2 Exp $
+
+DESCRIPTION="an integrated solution for real time simulation of physics environments"
+HOMEPAGE="http://www.physicsengine.com/"
+SRC_URI="http://www.physicsengine.com/downloads/${PN}Linux-${PV}.tar.gz
+       http://www.newtondynamics.com/downloads/${PN}Linux-${PV}.tar.gz"
+
+LICENSE="newton"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+RDEPEND="doc? (
+       || (
+               (
+                       x11-libs/libXmu
+                       x11-libs/libXi )
+               virtual/x11 )
+       virtual/opengl
+       virtual/glut )"
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/newtonSDK
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       if use doc; then
+               cd samples
+               rm -rf gl
+               sed -i \
+                       -e "s:-I ../gl:-I /usr/include/GL:" \
+                       tutorial_05_UsingJoints/makefile \
+                       tutorial_09_SimpleVehicle/makefile \
+                       tutorial_04_IntroductionToMaterials/makefile \
+                       tutorial_10_CustomJoints/makefile \
+                       tutorial_01_GettingStarted/makefile \
+                       tutorial_02_UsingCallbacks/makefile \
+                       tutorial_08_HeightFieldCollision/makefile \
+                       tutorial_07_CharaterController/makefile \
+                       tutorial_06_UtilityFuntionality/makefile \
+                       tutorial_03_UsingCollisionTree/makefile \
+                       || die "failed fixing sample makefiles"
+               # This is commented out because this thing simply does not compile
+               # with lots of other CFLAGS and I've been unable to determine exactly
+               # what is causing it to fail, but even CFLAGS="-O2" fails.
+#              sed -i \
+#                      -e "s:^FLAGS = -g -O0 -c -Wall:FLAGS = ${CFLAGS}:" \
+#                      makefile
+       fi
+}
+
+src_compile() {
+       if use doc; then
+               cd samples
+               emake || die "emake samples failed"
+       fi
+}
+
+src_install() {
+       dolib sdk/libNewton.a
+       insinto /usr/include
+       doins sdk/Newton.h
+
+       if use doc; then
+               find samples -name \*.elf | xargs rm
+               find samples -name \*.o | xargs rm
+
+               insinto /usr/share/${PN}
+               doins -r `ls --ignore=bin samples/*`
+
+               exeinto /usr/share/${PN}/bin
+               dobin samples/bin/tutorial_*
+       fi
+
+       chmod -x doc/*
+       dodoc doc/*
+
+       prepgamesdirs
+}