summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-10-19 17:07:19 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-10-19 17:07:19 +0000
commit5dfc566bd7d90f6c43b93f02d3a623cd8f91b2cb (patch)
tree879aac5ab905634f4f9ee80b9235c9963db42633 /dev-games/ode
parentRemove 'doc' use flag. (diff)
downloadhistorical-5dfc566bd7d90f6c43b93f02d3a623cd8f91b2cb.tar.gz
historical-5dfc566bd7d90f6c43b93f02d3a623cd8f91b2cb.tar.bz2
historical-5dfc566bd7d90f6c43b93f02d3a623cd8f91b2cb.zip
version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-games/ode')
-rw-r--r--dev-games/ode/ChangeLog8
-rw-r--r--dev-games/ode/Manifest20
-rw-r--r--dev-games/ode/files/digest-ode-0.93
-rw-r--r--dev-games/ode/files/ode-0.9-flags.patch45
-rw-r--r--dev-games/ode/ode-0.9.ebuild92
5 files changed, 163 insertions, 5 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog
index 28701518b580..036789cae821 100644
--- a/dev-games/ode/ChangeLog
+++ b/dev-games/ode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-games/ode
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.44 2007/09/06 07:30:39 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.45 2007/10/19 17:07:18 mr_bones_ Exp $
+
+*ode-0.9 (19 Oct 2007)
+
+ 19 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/ode-0.9-flags.patch, +ode-0.9.ebuild:
+ version bump
06 Sep 2007; Christian Faulhammer <opfer@gentoo.org> ode-0.8.ebuild:
stable x86, bug 187093
diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index fe060cc851a7..45d140ef9e06 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -6,15 +6,24 @@ AUX ode-0.8-flags.patch 983 RMD160 66caffe33e3a365ea7428b6971c0326f90ccb247 SHA1
MD5 10af71e676a1feaac170b2ba93c4f7cd files/ode-0.8-flags.patch 983
RMD160 66caffe33e3a365ea7428b6971c0326f90ccb247 files/ode-0.8-flags.patch 983
SHA256 0d97aa182e9b62bccc30b56481aab5fa58db52f363031f8e1921b370f78c3d3a files/ode-0.8-flags.patch 983
+AUX ode-0.9-flags.patch 1223 RMD160 d0a552b32b84f5a8efcc182adb5fa20f1eee9c81 SHA1 aaefc81039eb9849d5479352db0c3cb90306e3cf SHA256 947a196431b5fe958c59f85022e40dac44baeff25ba03982cbab01d4b962432d
+MD5 ec38e463183b9a80d9709d7a808f7f92 files/ode-0.9-flags.patch 1223
+RMD160 d0a552b32b84f5a8efcc182adb5fa20f1eee9c81 files/ode-0.9-flags.patch 1223
+SHA256 947a196431b5fe958c59f85022e40dac44baeff25ba03982cbab01d4b962432d files/ode-0.9-flags.patch 1223
DIST ode-src-0.8.zip 2005445 RMD160 43a299a61a5ce6ed757eefc2855cd05fe6ae2024 SHA1 8e8a956ecebfc9e1f5f76b4e0083147581d85abe SHA256 07d751fc92ca4c739d4e76e2fc01cda19374d126bd65a789529dd727d1ec3edb
+DIST ode-src-0.9.zip 2052825 RMD160 e999fef770d664a57ffb2f71bf5351fbd84d5b17 SHA1 3b39ce085c2dc77c3fad7abaa382ffc20d3780e5 SHA256 460d0851b743b1f144ef2a8259004d6774504c95d08e9357a96a296111496feb
EBUILD ode-0.8.ebuild 2136 RMD160 5ec433c758fd98327165891f63e4ebac3f10cb58 SHA1 b066c64d20cd16306441878a3a701464d1ced7c3 SHA256 617fe30d3f713ef072ac96cefaeb0ba5a312f70a883c5efbc6cb492e0572d24b
MD5 15f9707b49c849eab02a244dbd77649d ode-0.8.ebuild 2136
RMD160 5ec433c758fd98327165891f63e4ebac3f10cb58 ode-0.8.ebuild 2136
SHA256 617fe30d3f713ef072ac96cefaeb0ba5a312f70a883c5efbc6cb492e0572d24b ode-0.8.ebuild 2136
-MISC ChangeLog 6119 RMD160 ebfd865ebc35487041c54c4165df57c31cd38b80 SHA1 278420c8a8945098487b3e05a0383346aea3ea3e SHA256 ca10c22f3a3a67caf991818ebc095095e4bfb65bfcebb047f74fd901e64bd482
-MD5 14cb07c1eb186077b7884de022b8a956 ChangeLog 6119
-RMD160 ebfd865ebc35487041c54c4165df57c31cd38b80 ChangeLog 6119
-SHA256 ca10c22f3a3a67caf991818ebc095095e4bfb65bfcebb047f74fd901e64bd482 ChangeLog 6119
+EBUILD ode-0.9.ebuild 2461 RMD160 6e41b3bbf77bd255a13ed5238f0bcf46ad53aa3b SHA1 e41ea46d50344dc4d909a146a92cddef6ddbeabb SHA256 d379e4b23575d201f64c6f669bb6e2d8458fc1b105a03f70a92486a4371e3e21
+MD5 fc361e9a4667d292fd09cc85343d0ae4 ode-0.9.ebuild 2461
+RMD160 6e41b3bbf77bd255a13ed5238f0bcf46ad53aa3b ode-0.9.ebuild 2461
+SHA256 d379e4b23575d201f64c6f669bb6e2d8458fc1b105a03f70a92486a4371e3e21 ode-0.9.ebuild 2461
+MISC ChangeLog 6265 RMD160 0a9f6fdad8d073d2eac373aab00817e5066472c4 SHA1 cb7f5cef89b62bc33cf6fe18ef8a01d57ec5ac5f SHA256 4eccc2ed42b1f39df79d589e8d9d4789e50acd9a4df4d6f9760d5fcc83503bcf
+MD5 eb3d0cb592d347ff633178f1167b92cb ChangeLog 6265
+RMD160 0a9f6fdad8d073d2eac373aab00817e5066472c4 ChangeLog 6265
+SHA256 4eccc2ed42b1f39df79d589e8d9d4789e50acd9a4df4d6f9760d5fcc83503bcf ChangeLog 6265
MISC metadata.xml 507 RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a SHA1 2844b71e1f83503d096e912d5d61d6b69b296a99 SHA256 b8638b82f39c6329cfeeab46ec0a1cf325a28f880ce4b87e19b0586d41bd58de
MD5 2149b6065a52ec18bd6db2bea63d5b9a metadata.xml 507
RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a metadata.xml 507
@@ -22,3 +31,6 @@ SHA256 b8638b82f39c6329cfeeab46ec0a1cf325a28f880ce4b87e19b0586d41bd58de metadata
MD5 849775c5756be6b268817e8e9ce9e5e5 files/digest-ode-0.8 229
RMD160 6103edbf83164824c7a1f23a1a7d8432df1207b6 files/digest-ode-0.8 229
SHA256 185b847cdfb008cd16db973c37cf87c444a20f654d1b766798b51317943e6bd1 files/digest-ode-0.8 229
+MD5 4d49ca9621e7ca37acbe89433c668a77 files/digest-ode-0.9 229
+RMD160 f7284981e07a8d061af96d90d5448fce6ddf93bf files/digest-ode-0.9 229
+SHA256 5e8784f31427be270a4ec81e778a00e2db3382e3d769c7744875b98135b3e437 files/digest-ode-0.9 229
diff --git a/dev-games/ode/files/digest-ode-0.9 b/dev-games/ode/files/digest-ode-0.9
new file mode 100644
index 000000000000..dd23d8c3211c
--- /dev/null
+++ b/dev-games/ode/files/digest-ode-0.9
@@ -0,0 +1,3 @@
+MD5 4c03759b76a0649a6d5108c8e172e1e4 ode-src-0.9.zip 2052825
+RMD160 e999fef770d664a57ffb2f71bf5351fbd84d5b17 ode-src-0.9.zip 2052825
+SHA256 460d0851b743b1f144ef2a8259004d6774504c95d08e9357a96a296111496feb ode-src-0.9.zip 2052825
diff --git a/dev-games/ode/files/ode-0.9-flags.patch b/dev-games/ode/files/ode-0.9-flags.patch
new file mode 100644
index 000000000000..b7ac873188d3
--- /dev/null
+++ b/dev-games/ode/files/ode-0.9-flags.patch
@@ -0,0 +1,45 @@
+--- configure.in.orig 2007-10-19 13:00:54.000000000 -0400
++++ configure.in 2007-10-19 13:01:14.000000000 -0400
+@@ -14,9 +14,6 @@
+
+ AM_INIT_AUTOMAKE(ODE,[$ODE_RELEASE])
+ AM_CONFIG_HEADER(include/ode/config.h)
+-dnl Set CFLAGS to zero, so that we avoid getting the gratis -g -O2
+-CFLAGS=
+-CXXFLAGS=
+ AC_C_BIGENDIAN
+ AC_PATH_X
+ AC_PATH_XTRA
+@@ -299,9 +296,6 @@
+ release=$enableval,release=no)
+ if test "x$release" == xyes
+ then
+- CFLAGS="$CFLAGS -fomit-frame-pointer -ffast-math"
+- CPPFLAGS="$CPPFLAGS -fomit-frame-pointer -ffast-math"
+- CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -ffast-math"
+ AC_DEFINE(dNODEBUG,,[Disable debug output])
+ fi
+ AC_MSG_RESULT($release)
+@@ -310,12 +304,6 @@
+ AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],
+ [Add debug symbols to the library with -g]),
+ debug=$enableval,debug=yes)
+-if test "x$debug" == xyes
+-then
+- CFLAGS="$CFLAGS -g"
+- CPPFLAGS="$CPPFLAGS -g"
+- CXXFLAGS="$CXXFLAGS -g"
+-fi
+ AC_MSG_RESULT($debug)
+
+
+@@ -431,9 +419,6 @@
+ gprof=$enableval,gprof=no)
+ if test "$gprof" != no
+ then
+- CFLAGS="-pg $CFLAGS"
+- CPPFLAGS="-pg $CPPFLAGS"
+- CXXFLAGS="-pg $CXXFLAGS"
+ AC_CHECK_LIB(gmon, main,[LIBS="$LIBS -lgmon"])
+ AC_MSG_RESULT(enabled)
+ else
diff --git a/dev-games/ode/ode-0.9.ebuild b/dev-games/ode/ode-0.9.ebuild
new file mode 100644
index 000000000000..be133c5ecb04
--- /dev/null
+++ b/dev-games/ode/ode-0.9.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.9.ebuild,v 1.1 2007/10/19 17:07:18 mr_bones_ Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Open Dynamics Engine SDK"
+HOMEPAGE="http://ode.org/"
+SRC_URI="mirror://sourceforge/opende/${PN}-src-${PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="double-precision examples nogyroscopic noopcode"
+
+RDEPEND="examples? (
+ virtual/opengl
+ virtual/glu
+ x11-libs/libXmu
+ x11-libs/libXi
+ )"
+DEPEND="app-arch/unzip
+ virtual/opengl
+ virtual/glu
+ x11-libs/libXmu
+ x11-libs/libXi"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-flags.patch
+ eautoreconf
+
+ sed -i \
+ -e "s:../../drawstuff/textures:/usr/share/${PF}/examples:" \
+ ode/demo/*.c* \
+ || die "sed failed"
+ sed -i \
+ -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${PF}\/examples\"/" \
+ drawstuff/dstest/dstest.cpp \
+ || die "sed failed"
+ sed -i \
+ -e "s/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" \
+ OPCODE/OPC_TreeCollider.h \
+ || die "sed failed"
+ sed -i \
+ -e '/USE_SONAME_TRUE/s:\(\$(libdir)\):$(DESTDIR)\1:' \
+ -e '/USE_SONAME_TRUE.*ldconfig/d' \
+ -e '/USE_SONAME_TRUE.*ln -s/s:\$(DESTDIR)::' \
+ Makefile.in \
+ || die "sed failed"
+}
+
+src_compile() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable double-precision) \
+ $(use_enable !noopcode opcode) \
+ $(use_enable !nogyroscopic gyroscopic) \
+ --enable-soname \
+ --enable-release \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed!"
+ dodoc CHANGELOG.txt README.txt
+ # Install API docs
+ dohtml docs/*
+
+ if use examples; then
+ # install examples
+ exeinto /usr/share/${PF}/examples
+ cd ode/demo
+ doexe demo_I demo_basket demo_boxstack demo_buggy \
+ demo_chain1 demo_chain2 demo_collision demo_convex_cd \
+ demo_crash demo_cyl demo_cylvssphere demo_feedback \
+ demo_friction demo_heightfield demo_hinge demo_jointPR \
+ demo_joints demo_motor demo_moving_trimesh demo_ode \
+ demo_plane2d demo_slider demo_space demo_space_stress \
+ demo_step demo_trimesh
+ cd ../..
+ doexe drawstuff/dstest/dstest
+ insinto /usr/share/${PF}/examples
+ doins ode/demo/*.{c,cpp,h} \
+ drawstuff/textures/*.ppm \
+ drawstuff/dstest/dstest.cpp \
+ drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
+ fi
+}