diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-06-19 21:30:01 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-06-19 21:30:01 +0000 |
commit | 049e676bd8c1e4a3bc573c704066d70ec4c94a6a (patch) | |
tree | 5d026ffde37fcfeb4ef8496aaf70544e12f2bb5e /dev-games | |
parent | Stable on sparc wrt security #135141 (diff) | |
download | gentoo-2-049e676bd8c1e4a3bc573c704066d70ec4c94a6a.tar.gz gentoo-2-049e676bd8c1e4a3bc573c704066d70ec4c94a6a.tar.bz2 gentoo-2-049e676bd8c1e4a3bc573c704066d70ec4c94a6a.zip |
Version bump, bug #136357
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/ode/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/ode/files/digest-ode-0.6 | 3 | ||||
-rw-r--r-- | dev-games/ode/files/ode-0.6-flags.patch | 27 | ||||
-rw-r--r-- | dev-games/ode/ode-0.6.ebuild | 79 |
4 files changed, 116 insertions, 1 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog index 6e3160540097..b313cb5df86b 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.21 2006/04/01 14:30:58 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.22 2006/06/19 21:30:01 tupone Exp $ + +*ode-0.6 (19 Jun 2006) + + 19 Jun 2006; <Tupone@gentoo.org> +files/ode-0.6-flags.patch, + +ode-0.6.ebuild: + Version bump, bug #136357 by Terry L. Triplett 01 Apr 2006; Aron Griffis <agriffis@gentoo.org> ode-0.5-r4.ebuild: Mark 0.5-r4 ~ia64 diff --git a/dev-games/ode/files/digest-ode-0.6 b/dev-games/ode/files/digest-ode-0.6 new file mode 100644 index 000000000000..eccbc87e1ed1 --- /dev/null +++ b/dev-games/ode/files/digest-ode-0.6 @@ -0,0 +1,3 @@ +MD5 7afdb1d434a1e2cc2d701fdf8d1f2fad ode-src-0.6.zip 1808849 +RMD160 47f156ff618dc0ea49ba17756dc51f362b8b9f91 ode-src-0.6.zip 1808849 +SHA256 5bc01923bd68b122368f15d4e969bff4d53acbd69af521712b33181d47b36b88 ode-src-0.6.zip 1808849 diff --git a/dev-games/ode/files/ode-0.6-flags.patch b/dev-games/ode/files/ode-0.6-flags.patch new file mode 100644 index 000000000000..a33f374bf00a --- /dev/null +++ b/dev-games/ode/files/ode-0.6-flags.patch @@ -0,0 +1,27 @@ +--- configure.in.old 2006-06-18 20:40:45.000000000 +0200 ++++ configure.in 2006-06-18 20:41:50.000000000 +0200 +@@ -237,14 +237,7 @@ + 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]) +-else +- CFLAGS="-g" +- CPPFLAGS="-g" +- CXXFLAGS="-g" + fi + AC_MSG_RESULT($release) + +@@ -346,9 +339,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.6.ebuild b/dev-games/ode/ode-0.6.ebuild new file mode 100644 index 000000000000..08851cac199e --- /dev/null +++ b/dev-games/ode/ode-0.6.ebuild @@ -0,0 +1,79 @@ +# 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.6.ebuild,v 1.1 2006/06/19 21:30:01 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 ~sparc ~x86" +IUSE="double-precision examples nogyroscopic noopcode" + +RDEPEND="examples? ( + virtual/opengl + virtual/glu + || ( + ( + x11-libs/libXmu + x11-libs/libXi + ) + virtual/x11 + ) + )" + +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix C*FLAGS being set on configure + 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 +} |