summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-04-07 13:22:40 -0400
committerMichael Sterrett <mr_bones_@gentoo.org>2016-04-07 13:23:05 -0400
commit353af8036762f47a6723ea7a711c253bc5f3ebac (patch)
tree778f144448f131027451e4862a115cffaef4816f /dev-games/ode
parentapp-crypt/stoken: packaging for bug 539660 (diff)
downloadgentoo-353af8036762f47a6723ea7a711c253bc5f3ebac.tar.gz
gentoo-353af8036762f47a6723ea7a711c253bc5f3ebac.tar.bz2
gentoo-353af8036762f47a6723ea7a711c253bc5f3ebac.zip
dev-games/ode: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-games/ode')
-rw-r--r--dev-games/ode/Manifest1
-rw-r--r--dev-games/ode/ode-0.14.ebuild76
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index 6cceaaadda1..36689e9fac8 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,3 +1,4 @@
DIST ode-0.11.1.tar.bz2 1720088 SHA256 877884a86a3d53f3c5f2e35fbd8a3dc23c20249f0636c76f6ef41f6bf57a03a1 SHA512 1e015231f4d01c68e7539144d197031cca23d4b58ea53733184a826ce23388956c428a53385254e7eed2c5d3fc28224a688eb13be7ea648bd78e186c8f203d37 WHIRLPOOL a77c4a61b1dd551911e87a2233f279ac5e6cdea9abf1704574f2a42ab683a426b7fc2a8e9b422f80ca379532b7d755cf7d28f1a47948dd80444cff8c7796cd32
DIST ode-0.12.tar.bz2 1816246 SHA256 65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350 SHA512 303ffda8afcb89a87d09c44393f590f5646f10e8959ca06746121859ad2407709cd711ab185fed4817a9f74c9ca4ee13d1698a28577211bf65dbaad1141f6fc0 WHIRLPOOL def7dfd7bb9f78db9c593bb99eb635da9868dd05362817ca344e583ca157da87c3e6932b9912684bc3deed2aff9eeb409d57fd9eb388e2f195f9c83b5cccabc4
DIST ode-0.13.tar.bz2 2008288 SHA256 34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9 SHA512 d30c5228e10df5784802ceaea08353a3fd1088450b2ba69ad1da840b8aad2224484e5642145820621e105e08aa6da6f3e9957780d4c3b047647558b1abc32780 WHIRLPOOL ab7283fb0c957c0bac334150c4dc4d342a200fb1bfdeb26cbd8da13f0a8699bc9664af7a0cb9d0211d7484dc56a4608b8b4a60e81cf1008b5feff534733dbdb4
+DIST ode-0.14.tar.gz 2132897 SHA256 1072fc98d9d00262a0d6136e7b9ff7f5d953bbdb23b646f426909d28c0b4f6db SHA512 356c3edd10274a00516c459035180c74e611fffba42b7674fbf1ee5225a27b54dfeb5eeeaa2ff85ecd2fdea5f634e2732df38333b58c4a43f7befa25ba321927 WHIRLPOOL 542867795477b03dd3268ee5e9d54c86990b67016084b8ef68364615fc0eb6e7f0264b5180e7c4bc0ef972234ede26ccb652505b95958e412286addfa5b56591
diff --git a/dev-games/ode/ode-0.14.ebuild b/dev-games/ode/ode-0.14.ebuild
new file mode 100644
index 00000000000..48021bb5163
--- /dev/null
+++ b/dev-games/ode/ode-0.14.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Open Dynamics Engine SDK"
+HOMEPAGE="http://ode.org/"
+SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1+ BSD )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug doc double-precision examples gyroscopic static-libs"
+
+RDEPEND="examples? (
+ virtual/glu
+ virtual/opengl )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples
+
+src_prepare() {
+ sed -i \
+ -e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \
+ drawstuff/src/Makefile.am \
+ ode/demo/Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ # use bash (bug #335760)
+ CONFIG_SHELL=/bin/bash \
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static) \
+ $(use_enable debug asserts) \
+ $(use_enable double-precision) \
+ $(use_enable examples demos) \
+ $(use_enable gyroscopic) \
+ $(use_with examples drawstuff X11)
+}
+
+src_compile() {
+ emake
+ if use doc ; then
+ cd ode/doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ DOCS="CHANGELOG.txt README.md" \
+ default
+ prune_libtool_files
+ if use doc ; then
+ dohtml docs/*
+ fi
+ if use examples; then
+ docompress -x "${MY_EXAMPLES_DIR}"
+ insinto "${MY_EXAMPLES_DIR}"
+ exeinto "${MY_EXAMPLES_DIR}"
+ doexe drawstuff/dstest/dstest
+ doins ode/demo/*.{c,cpp,h} \
+ drawstuff/textures/*.ppm \
+ drawstuff/dstest/dstest.cpp \
+ drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
+ cd ode/demo
+ local f
+ for f in *.c* ; do
+ doexe .libs/${f%.*}
+ done
+ fi
+}