diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-10-17 22:09:43 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-10-17 22:09:43 +0000 |
commit | 31d26e9f61eb54e71bbd1ec67642f684e0546128 (patch) | |
tree | 7a86209e67e26231b06fcec9283c90a53fa0c80b /dev-games/ode | |
parent | Going -sparc wrt #75250 (diff) | |
download | gentoo-2-31d26e9f61eb54e71bbd1ec67642f684e0546128.tar.gz gentoo-2-31d26e9f61eb54e71bbd1ec67642f684e0546128.tar.bz2 gentoo-2-31d26e9f61eb54e71bbd1ec67642f684e0546128.zip |
Bumped to 0.7 . Bug #150857
(Portage version: 2.1.1)
Diffstat (limited to 'dev-games/ode')
-rw-r--r-- | dev-games/ode/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/ode/files/digest-ode-0.7 | 3 | ||||
-rw-r--r-- | dev-games/ode/files/ode-0.7-flags.patch | 35 | ||||
-rw-r--r-- | dev-games/ode/ode-0.7.ebuild | 77 |
4 files changed, 122 insertions, 1 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog index 81f8da6a9867..d82182d12508 100644 --- a/dev-games/ode/ChangeLog +++ b/dev-games/ode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-games/ode # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.32 2006/10/05 16:19:58 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.33 2006/10/17 22:09:43 tupone Exp $ + +*ode-0.7 (17 Oct 2006) + + 17 Oct 2006; <tupone@gentoo.org> +files/ode-0.7-flags.patch, + +ode-0.7.ebuild: + Bumped to 0.7 . Bug #150857 by Christopher Mire 05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> ode-0.6-r1.ebuild: Stable on amd64 wrt bug #146080. diff --git a/dev-games/ode/files/digest-ode-0.7 b/dev-games/ode/files/digest-ode-0.7 new file mode 100644 index 000000000000..20a52c5c195f --- /dev/null +++ b/dev-games/ode/files/digest-ode-0.7 @@ -0,0 +1,3 @@ +MD5 b6727fef2cbb9ca812438bb774c9d6ec ode-src-0.7.zip 1903503 +RMD160 6215cc2b825321abdf3c9113a2711c6092590e06 ode-src-0.7.zip 1903503 +SHA256 e346097fc41174038a4373d4e6295b04c7dcfaf10489f4c385bd2c0878fbc878 ode-src-0.7.zip 1903503 diff --git a/dev-games/ode/files/ode-0.7-flags.patch b/dev-games/ode/files/ode-0.7-flags.patch new file mode 100644 index 000000000000..32353d8b8293 --- /dev/null +++ b/dev-games/ode/files/ode-0.7-flags.patch @@ -0,0 +1,35 @@ +--- configure.in.old 2006-10-16 23:44:52.000000000 +0200 ++++ configure.in 2006-10-16 23:46:20.000000000 +0200 +@@ -271,9 +271,6 @@ + release=$enableval,release=no) + if test "x$release" == xyes + then +- CFLAGS="-fomit-frame-pointer -ffast-math" +- CPPFLAGS="-fomit-frame-pointer -ffast-math" +- CXXFLAGS="-fomit-frame-pointer -ffast-math" + AC_DEFINE(dNODEBUG,,[Disable debug output]) + fi + AC_MSG_RESULT($release) +@@ -282,12 +279,6 @@ + AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug], + [build a debug library with -g]), + debug=$enableval,debug=no) +-if test "x$debug" == xyes +-then +- CFLAGS="-g" +- CPPFLAGS="-g" +- CXXFLAGS="-g" +-fi + AC_MSG_RESULT($debug) + + +@@ -403,9 +394,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.7.ebuild b/dev-games/ode/ode-0.7.ebuild new file mode 100644 index 000000000000..19d17898596f --- /dev/null +++ b/dev-games/ode/ode-0.7.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.7.ebuild,v 1.1 2006/10/17 22:09:43 tupone 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="${RDEPEND} + app-arch/unzip" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-flags.patch + eautoreconf + + sed -i -e "s/..\/..\/drawstuff\/textures/\/usr\/share\/${PF}\/examples/" ode/test/*.c* + sed -i -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${PF}\/examples\"/" drawstuff/dstest/dstest.cpp + sed -i -e "s/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" OPCODE/OPC_TreeCollider.h +} + +src_compile() { + econf \ + $(use_enable double-precision) \ + $(use_enable !noopcode opcode) \ + $(use_enable !nogyroscopic gyroscopic) \ + --enable-release \ + || die "ODE configuration failed" + + emake || die "ODE compile failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed!" + dodoc CHANGELOG.txt README.txt + # Install API docs + dohtml docs/* + + if use examples; then + # install examples + dodir /usr/share/${PF}/examples + exeinto /usr/share/${PF}/examples + cd ode/test + doexe test_basket test_boxstack test_buggy test_chain1 test_chain2 \ + test_collision test_crash test_cyl test_cylvssphere test_friction \ + test_hinge test_I test_joints test_motor test_moving_trimesh \ + test_ode test_slider test_space test_space_stress test_step \ + test_trimesh + cd ../.. + doexe drawstuff/dstest/dstest + insinto /usr/share/${PF}/examples + doins ode/test/*.{c,cpp,h} + doins drawstuff/textures/*.ppm + doins drawstuff/dstest/dstest.cpp + doins drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} + fi +} + +src_test() { + ! LD_LIBRARY_PATH=ode/src ode/test/test_ode | grep -qi fail || die "test failed" +} |