# 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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 f415a2c4651236a03ac59a7cc8764e87 ChangeLog 3678
-RMD160 f6968400e2f2b3f02d12b7c6b5b6b181554d182c ChangeLog 3678
-SHA256 5d33b24cacafd2776b8618a04bcd48a42470d635f2c9a534d2545514bfec57c5 ChangeLog 3678
-MD5 3c39bacb7a580cf1d125caf8bf9525a7 files/digest-ode-0.5-r4 217
-RMD160 5e6dd10f8f7c61341263a18e526d6fb389698492 files/digest-ode-0.5-r4 217
-SHA256 7d0d3d4aabf13daa38ec9bb7ebee7c127169b50f2f2aa8b6e32b0573e08e04cc files/digest-ode-0.5-r4 217
+AUX ode-0.5-PIC.patch 446 RMD160 126ad67f1163bb6dd1015d8a17212bd8aa6d65fb SHA1 cea2036b395ca5999b407993c3da2cd85dc956fe SHA256 86ebd9204a4d317029d38391a863d7e3feb1ae969818b23ad64d8f01d8bd19be
MD5 396acb81503d05b97e7dffe8d6c0003e files/ode-0.5-PIC.patch 446
RMD160 126ad67f1163bb6dd1015d8a17212bd8aa6d65fb files/ode-0.5-PIC.patch 446
SHA256 86ebd9204a4d317029d38391a863d7e3feb1ae969818b23ad64d8f01d8bd19be files/ode-0.5-PIC.patch 446
-MD5 2149b6065a52ec18bd6db2bea63d5b9a metadata.xml 507
-RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a metadata.xml 507
-SHA256 b8638b82f39c6329cfeeab46ec0a1cf325a28f880ce4b87e19b0586d41bd58de metadata.xml 507
+AUX ode-0.6-flags.patch 734 RMD160 c673c5ff42e2872536e5d6a34c9276440b57a65a SHA1 e438b6b8ce3dfef534a93f18ceb82f94e048651d SHA256 09c2d22c12f606485cd89a0ecfdefed78714a4b5a94e720ecad505ec457c19d6
+MD5 cb89ff743dde9ea819aaed4da78f2d16 files/ode-0.6-flags.patch 734
+RMD160 c673c5ff42e2872536e5d6a34c9276440b57a65a files/ode-0.6-flags.patch 734
+SHA256 09c2d22c12f606485cd89a0ecfdefed78714a4b5a94e720ecad505ec457c19d6 files/ode-0.6-flags.patch 734
+DIST ode-0.5.tgz 1710720 RMD160 3410a842731c1bb24f306f4d23509533664321aa SHA1 f13756f1192d24101b6d1a3c14feb43efbf0b281 SHA256 5388c4cd4666f270f18216c90ab6526229c53fdc7e82f93ddb0824e69521df1c
+DIST ode-src-0.6.zip 1808849 RMD160 47f156ff618dc0ea49ba17756dc51f362b8b9f91 SHA1 e6af7548e68ca391f9f586409a9cb9b4203066f7 SHA256 5bc01923bd68b122368f15d4e969bff4d53acbd69af521712b33181d47b36b88
+EBUILD ode-0.5-r4.ebuild 2242 RMD160 b3abe09c90ecc0d0b9d6192e8f4ee61eb53dbf7a SHA1 98faa6eda45a8c1bf5893c848a34337b7592c616 SHA256 4786b845565f6b091c1b5c2f4a9a8e7bc2a38aeb37348c1a3c51d01317e2cf44
MD5 3a1583253c79d0993c235c9b1b5bdc9f ode-0.5-r4.ebuild 2242
RMD160 b3abe09c90ecc0d0b9d6192e8f4ee61eb53dbf7a ode-0.5-r4.ebuild 2242
SHA256 4786b845565f6b091c1b5c2f4a9a8e7bc2a38aeb37348c1a3c51d01317e2cf44 ode-0.5-r4.ebuild 2242
+EBUILD ode-0.6.ebuild 2114 RMD160 215acd189376e3c98b46df0196562a806bcb4180 SHA1 24769e35797f0761a5ca7b2ac9f34bf1ef94c5f3 SHA256 024bcd541caf1116da488fb9b57e11808acb7ef561311659b059f8aff928b949
+MD5 8a47fdef4ad923311d67d860ef210764 ode-0.6.ebuild 2114
+RMD160 215acd189376e3c98b46df0196562a806bcb4180 ode-0.6.ebuild 2114
+SHA256 024bcd541caf1116da488fb9b57e11808acb7ef561311659b059f8aff928b949 ode-0.6.ebuild 2114
+MISC ChangeLog 3832 RMD160 040e8e7acf724dc44837892765f7a04f94d61876 SHA1 40886c1432e34205399b8714416f96e9f054bce1 SHA256 9731ea19a6c918bcb206654e7c88bbe5a413289156b4c820c9b848b0e52222dc
+MD5 c0812383cefd1e62b6de382ccaec2024 ChangeLog 3832
+RMD160 040e8e7acf724dc44837892765f7a04f94d61876 ChangeLog 3832
+SHA256 9731ea19a6c918bcb206654e7c88bbe5a413289156b4c820c9b848b0e52222dc ChangeLog 3832
+MISC metadata.xml 507 RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a SHA1 2844b71e1f83503d096e912d5d61d6b69b296a99 SHA256 b8638b82f39c6329cfeeab46ec0a1cf325a28f880ce4b87e19b0586d41bd58de
+MD5 2149b6065a52ec18bd6db2bea63d5b9a metadata.xml 507
+RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a metadata.xml 507
+SHA256 b8638b82f39c6329cfeeab46ec0a1cf325a28f880ce4b87e19b0586d41bd58de metadata.xml 507
+MD5 3c39bacb7a580cf1d125caf8bf9525a7 files/digest-ode-0.5-r4 217
+RMD160 5e6dd10f8f7c61341263a18e526d6fb389698492 files/digest-ode-0.5-r4 217
+SHA256 7d0d3d4aabf13daa38ec9bb7ebee7c127169b50f2f2aa8b6e32b0573e08e04cc files/digest-ode-0.5-r4 217
+MD5 970152fef9eea8757da4b2250694d623 files/digest-ode-0.6 229
+RMD160 3ebebccdf61dc03717c5dba47d968b65ab8bc246 files/digest-ode-0.6 229
+SHA256 6cf98cd14d6644e7965eb9ef54d4a7f7ee96ae1fca10e324a2bfb6463bd42131 files/digest-ode-0.6 229
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
+Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFELo6sJrHF4yAQTrARAj7ZAJ9KlY4dNyD2DFHG1IlesJfQSigPPACgiYzZ
-UH6FZO+U8bD8DqllHRaxGoA=
-=Y50N
+iD8DBQFElxdp2CTtIKiFlQIRAmcyAJ9/EU+ghm3dGVZgVf2LYqXmV1vqUACfY4Gg
+cmiJt/JiGXY7L55/objBb+o=
+=4qbB
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 7afdb1d434a1e2cc2d701fdf8d1f2fad ode-src-0.6.zip 1808849
+RMD160 47f156ff618dc0ea49ba17756dc51f362b8b9f91 ode-src-0.6.zip 1808849
+SHA256 5bc01923bd68b122368f15d4e969bff4d53acbd69af521712b33181d47b36b88 ode-src-0.6.zip 1808849
--- /dev/null
+--- 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
--- /dev/null
+# 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
+}