diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-games/ode |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-games/ode')
-rw-r--r-- | dev-games/ode/Manifest | 9 | ||||
-rw-r--r-- | dev-games/ode/metadata.xml | 22 | ||||
-rw-r--r-- | dev-games/ode/ode-0.11.1.ebuild | 72 | ||||
-rw-r--r-- | dev-games/ode/ode-0.12.ebuild | 72 | ||||
-rw-r--r-- | dev-games/ode/ode-0.14-r1.ebuild | 75 |
5 files changed, 250 insertions, 0 deletions
diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest new file mode 100644 index 000000000000..0ae87230cfa4 --- /dev/null +++ b/dev-games/ode/Manifest @@ -0,0 +1,9 @@ +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.14.tar.gz 2132897 SHA256 1072fc98d9d00262a0d6136e7b9ff7f5d953bbdb23b646f426909d28c0b4f6db SHA512 356c3edd10274a00516c459035180c74e611fffba42b7674fbf1ee5225a27b54dfeb5eeeaa2ff85ecd2fdea5f634e2732df38333b58c4a43f7befa25ba321927 WHIRLPOOL 542867795477b03dd3268ee5e9d54c86990b67016084b8ef68364615fc0eb6e7f0264b5180e7c4bc0ef972234ede26ccb652505b95958e412286addfa5b56591 +EBUILD ode-0.11.1.ebuild 1523 SHA256 e08edc4eef4840f195729930058904f7e1dbd0fc030cf297c191f006bfba0484 SHA512 f95c9219f3893d8d50a1f2345bb90c5b4fc5e17d57d9efe95d01521fa2c0f55bfe9b4948530f348da36f72e592bdadad70e31cf092a52aa6bc0d8fe4d20060d6 WHIRLPOOL bcaf86951a3d76a2d7cca570dfc5a2085ebf016f99870d930815bc3cd7f4e11acd80694b4b23e45546b622eef872f3b7b9efff3d6af93c7d6adf4959972f0e9a +EBUILD ode-0.12.ebuild 1547 SHA256 72c132f67f1455ff7255635f0727e97a1ea39f683103846e918b43ac62becbf0 SHA512 5d10471b3c81236437ba5d380f6cf1796a5f5e3a84cb7b5f91dcfd0d6f4409302c6c5b212f3c51c552a0067ae3b94df91bbe6da8a20fe381026c25069cdba0e5 WHIRLPOOL fea2545476fc16f15d00c6122f22b74d33a6de83fb78f04bddb1a95fd990d8b460d0aadfefb377610fe1e6c11ab5ebc452c41d31a89256d871321945409e719b +EBUILD ode-0.14-r1.ebuild 1645 SHA256 ce06e98214eba21f8c03827ce135f1027e9ddcb034131ccd08f6cc3871928247 SHA512 838033419f3ef7226ea7d5375b812d4dc2e8ecf74741f288b318449ce0724a22f5c2fc85008add57eeb7adf20b1d297a7d2afdc29e69f579b77aa5de3c94a712 WHIRLPOOL 3a2580716ea9f75de10cd00f33af891b47012ac835baf1c4026cc7417f97d7c968da621d1f6935c2b8184389ea458a11ddcc39f221d0f560ff54d9dc8cd64c10 +MISC ChangeLog 3027 SHA256 c8fa0638157bdfeeb6d110759b35be0b2a3c2d11cf3c16ae56a125d59f84dfb5 SHA512 e9ac0ccc1e4363fac86fb20ebda4897fc3a5a7c24772573cd6699b75d2ed1e7284f617a043abf329da019f32e6a5a66e7076711b7fdf2b81b2e222164e395231 WHIRLPOOL 8675ce637650142c226261f6ac1795f3f2639a60732743b8aadaf1f99d21655f5ea2aaf1a5c557be4c1add8a31c87e382a8589a6c8b5a319de0fb872fd02651d +MISC ChangeLog-2015 8687 SHA256 3de9149ac9056af6dc1008e3047ced16028b864552b6c978b46274bdbd30de15 SHA512 8371b7161f36903c8e7428f5cd3c7674260eb7cf18446cacec5de1dc7a09f8dd7a72667b3e14671350df80c3e8df59d2d8632a37f9823e3bb7190a98397170c6 WHIRLPOOL ff994712885d4ff92b793de9c37fa9a420565454ae7d750162bac5f22262036ff61d3cc6c32d3b92dfbc81473207418e8b1d8f29a5ee6d4921ec94b71d4100bb +MISC metadata.xml 917 SHA256 6b20a044c4a15cfa2021e4ec5d656a59bb2d886ef4da5e9ee4563f822df84e7d SHA512 46b02d068b5ae22dd6a7cf7e56f4525c377e5c6f35476842f76523c0f0c8582342f46e0972a99195469d59d9f0136b255c35159f91dbe98004cb9c00ea24ca8e WHIRLPOOL 2d5c0dfad1bc3778aa51108a28628fc87824dd89515cd7634d654df25a9debb37c9705d0000445cc84dad65d54b014402b40d1595cd75c7ca458361afff4d69b diff --git a/dev-games/ode/metadata.xml b/dev-games/ode/metadata.xml new file mode 100644 index 000000000000..bc254df5ec9a --- /dev/null +++ b/dev-games/ode/metadata.xml @@ -0,0 +1,22 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <longdescription> +ODE is a free, industrial quality library for simulating articulated rigid body +dynamics - for example ground vehicles, legged creatures, and moving objects in +VR environments. It is fast, flexible, robust and platform independent, with +advanced joints, contact with friction, and built-in collision detection. + </longdescription> + <use> + <flag name="double-precision">more precise calculations at the expense of speed</flag> + <flag name="gyroscopic">enable gyroscopic term (may cause instability)</flag> + </use> + <upstream> + <remote-id type="sourceforge">opende</remote-id> + <remote-id type="bitbucket">odedevs/ode</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-games/ode/ode-0.11.1.ebuild b/dev-games/ode/ode-0.11.1.ebuild new file mode 100644 index 000000000000..710cd3dcdb97 --- /dev/null +++ b/dev-games/ode/ode-0.11.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="Open Dynamics Engine SDK" +HOMEPAGE="http://ode.org/" +SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2" + +LICENSE="|| ( LGPL-2.1 BSD )" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd" +IUSE="debug doc double-precision examples gyroscopic static-libs" + +RDEPEND="examples? ( + virtual/opengl + )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + sed -i \ + -e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \ + drawstuff/src/Makefile.in \ + ode/demo/Makefile.in || die +} + +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.txt" \ + default + prune_libtool_files + if use doc ; then + dohtml docs/* + fi + if use examples; then + cd ode/demo + exeinto /usr/share/doc/${PF}/examples + local f + for f in *.c* ; do + doexe .libs/${f%.*} + done + cd ../.. + doexe drawstuff/dstest/dstest + insinto /usr/share/doc/${PF}/examples + doins ode/demo/*.{c,cpp,h} \ + drawstuff/textures/*.ppm \ + drawstuff/dstest/dstest.cpp \ + drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} + fi +} diff --git a/dev-games/ode/ode-0.12.ebuild b/dev-games/ode/ode-0.12.ebuild new file mode 100644 index 000000000000..3af95e61faeb --- /dev/null +++ b/dev-games/ode/ode-0.12.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="Open Dynamics Engine SDK" +HOMEPAGE="http://ode.org/" +SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2" + +LICENSE="|| ( LGPL-2.1 BSD )" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="debug doc double-precision examples gyroscopic static-libs" + +RDEPEND="examples? ( + virtual/opengl + )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + sed -i \ + -e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \ + drawstuff/src/Makefile.in \ + ode/demo/Makefile.in || die +} + +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.txt" \ + default + prune_libtool_files + if use doc ; then + dohtml docs/* + fi + if use examples; then + cd ode/demo + exeinto /usr/share/doc/${PF}/examples + local f + for f in *.c* ; do + doexe .libs/${f%.*} + done + cd ../.. + doexe drawstuff/dstest/dstest + insinto /usr/share/doc/${PF}/examples + doins ode/demo/*.{c,cpp,h} \ + drawstuff/textures/*.ppm \ + drawstuff/dstest/dstest.cpp \ + drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} + fi +} diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild new file mode 100644 index 000000000000..08bd2181affa --- /dev/null +++ b/dev-games/ode/ode-0.14-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/6" +KEYWORDS="~amd64 ~ppc64 ~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 +} |