From 9f75ffadd1d474b1977021c8aa1bf98f74b1ca48 Mon Sep 17 00:00:00 2001 From: Aaron Mavrinac Date: Fri, 24 Feb 2012 14:18:03 -0500 Subject: Initial import of sci-electronics/gazebo ebuild. --- sci-electronics/gazebo/Manifest | 3 ++ sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild | 73 ++++++++++++++++++++++++++ sci-electronics/gazebo/metadata.xml | 11 ++++ 3 files changed, 87 insertions(+) create mode 100644 sci-electronics/gazebo/Manifest create mode 100644 sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild create mode 100644 sci-electronics/gazebo/metadata.xml diff --git a/sci-electronics/gazebo/Manifest b/sci-electronics/gazebo/Manifest new file mode 100644 index 0000000..a82b8e5 --- /dev/null +++ b/sci-electronics/gazebo/Manifest @@ -0,0 +1,3 @@ +DIST gazebo-1.0.0-RC2.tar.bz2 39478507 RMD160 9759b6a0ac649de71a754d313a27af0c826829c5 SHA1 30cfa2ac358479f03f2b79543938ecaca4f8a631 SHA256 8935b28cbeb8907cdf4d25242ab20a085bb6655c39ee1c0fe0c4e4e63550dbd0 +EBUILD gazebo-1.0.0_rc2.ebuild 1426 RMD160 c3aea9f9ca630205646c243147e00b94e7003aaa SHA1 5147df9a465a1e6e0046558aa0fc0920d345c0e9 SHA256 ce222ec024226a8134c939f0db8c96e665756c9e5fbe8547ec132ff619ec70f5 +MISC metadata.xml 295 RMD160 368b5dcd636b13eb18e90a90f5a045fbe6822db6 SHA1 6b5a043bddd5881952dcd25e0579da210e2c6dfe SHA256 0940c5f9f77d72638a6c504b9128615bd77ca5a1a5cf4e51b3509e6ee493c6b2 diff --git a/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild b/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild new file mode 100644 index 0000000..a9cf523 --- /dev/null +++ b/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild @@ -0,0 +1,73 @@ +# Copyright 2008-2012 Funtoo Technologies +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit qt4-r2 cmake-utils + +MY_P=${PN}-${PV/_rc/-RC} + +DESCRIPTION="A 3D multiple robot simulator with dynamics." +HOMEPAGE="http://gazebosim.org" +SRC_URI="${HOMEPAGE}/assets/distributions/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc player" + +RDEPEND=" + x11-libs/qt-gui:4 + dev-libs/libxml2 + dev-libs/tinyxml + dev-libs/protobuf + >=dev-libs/boost-1.40.0 + dev-cpp/tbb + media-libs/openal + media-video/ffmpeg + media-libs/freeglut + >=media-libs/freeimage-3.9.0 + || ( >=dev-games/ode-0.11.1 sci-physics/bullet ) + >=dev-games/ogre-1.7.1[freeimage,cg] + player? ( sci-electronics/player ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P}-x86_64 + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use player INCLUDE_PLAYER) + ) + + # dev-libs/tinyxml doesn't provide a pkg-config file, and needs to be + # compatible with std::string + mycmakeargs+=( + "-Dtinyxml_include_dirs=/usr/include" + "-Dtinyxml_library_dirs=/usr/lib" + "-Dtinyxml_libraries=/usr/lib/libtinyxml.so" + "-Dtinyxml_cflags=-DTIXML_USE_STL" + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + cd ${CMAKE_BUILD_DIR} + emake doc + fi +} + +src_install() { + cmake-utils_src_install + + if use doc; then + dohtml -r ${CMAKE_BUILD_DIR}/doxygen/html/* + fi +} diff --git a/sci-electronics/gazebo/metadata.xml b/sci-electronics/gazebo/metadata.xml new file mode 100644 index 0000000..7be8cc8 --- /dev/null +++ b/sci-electronics/gazebo/metadata.xml @@ -0,0 +1,11 @@ + + + + + mavrinac@gmail.com + Aaron Mavrinac + + + Build plugin for Player + + -- cgit v1.2.3-65-gdbad