summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-04-14 15:51:09 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-04-14 15:51:09 +0000
commit1809fa9d3ba980eaa6c658e5a809350ac12f9a3a (patch)
treeedc9b25f10e81eb31932a86b8bf4029cf270578a /sci-electronics/gazebo
parentVersion bump. (diff)
downloadgentoo-2-1809fa9d3ba980eaa6c658e5a809350ac12f9a3a.tar.gz
gentoo-2-1809fa9d3ba980eaa6c658e5a809350ac12f9a3a.tar.bz2
gentoo-2-1809fa9d3ba980eaa6c658e5a809350ac12f9a3a.zip
initial import, ebuild by me
Signed-off-by: Alexis Ballier <aballier@gentoo.org> (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sci-electronics/gazebo')
-rw-r--r--sci-electronics/gazebo/ChangeLog10
-rw-r--r--sci-electronics/gazebo/gazebo-5.1.0.ebuild61
-rw-r--r--sci-electronics/gazebo/metadata.xml8
3 files changed, 79 insertions, 0 deletions
diff --git a/sci-electronics/gazebo/ChangeLog b/sci-electronics/gazebo/ChangeLog
new file mode 100644
index 000000000000..1c8dddef0f58
--- /dev/null
+++ b/sci-electronics/gazebo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-electronics/gazebo
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gazebo/ChangeLog,v 1.1 2015/04/14 15:51:09 aballier Exp $
+
+*gazebo-5.1.0 (14 Apr 2015)
+
+ 14 Apr 2015; Alexis Ballier <aballier@gentoo.org> +gazebo-5.1.0.ebuild,
+ +metadata.xml:
+ initial import, ebuild by me
+
diff --git a/sci-electronics/gazebo/gazebo-5.1.0.ebuild b/sci-electronics/gazebo/gazebo-5.1.0.ebuild
new file mode 100644
index 000000000000..5d057dd8b8be
--- /dev/null
+++ b/sci-electronics/gazebo/gazebo-5.1.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gazebo/gazebo-5.1.0.ebuild,v 1.1 2015/04/14 15:51:09 aballier Exp $
+
+EAPI=5
+
+inherit cmake-utils versionator vcs-snapshot flag-o-matic
+
+DESCRIPTION="A 3D multiple robot simulator with dynamics"
+HOMEPAGE="http://gazebosim.org/"
+SRC_URI="https://bitbucket.org/osrf/gazebo/get/${PN}$(get_major_version)_${PV}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cpu_flags_x86_sse2 libav test"
+
+RDEPEND="
+ >=dev-libs/protobuf-2.3.0
+ virtual/opengl
+ media-libs/openal
+ net-misc/curl
+ dev-libs/tinyxml
+ dev-libs/libtar
+ dev-cpp/tbb
+ >=dev-games/ogre-1.7.4
+ sci-libs/libccd
+ libav? ( media-video/libav:= )
+ !libav? ( media-video/ffmpeg:= )
+ sci-libs/gts
+ >=sci-physics/bullet-2.82
+ >=dev-libs/sdformat-2.3.1
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-libs/boost:=[threads]
+ sci-libs/gdal
+ virtual/libusb:1
+ dev-libs/libspnav
+ media-libs/freeimage
+"
+DEPEND="${RDEPEND}
+ app-text/ronn
+ virtual/pkgconfig
+"
+S="${WORKDIR}/${PN}$(get_major_version)_${PV}"
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+src_configure() {
+ # doesnt build without it
+ append-cxxflags "-std=c++11"
+ # doesnt build with as-needed either
+ append-ldflags "-Wl,--no-as-needed"
+ local mycmakeargs=(
+ "-DUSE_UPSTREAM_CFLAGS=OFF"
+ "-DSSE2_FOUND=$(usex cpu_flags_x86_sse2 TRUE FALSE)"
+ "-DUSE_HOST_CFLAGS=FALSE"
+ "-DENABLE_TESTS_COMPILATION=$(usex test TRUE FALSE)"
+ "-DENABLE_SCREEN_TESTS=FALSE"
+ )
+ cmake-utils_src_configure
+}
diff --git a/sci-electronics/gazebo/metadata.xml b/sci-electronics/gazebo/metadata.xml
new file mode 100644
index 000000000000..e7dd05f66879
--- /dev/null
+++ b/sci-electronics/gazebo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>aballier@gentoo.org</email>
+<name>Alexis Ballier</name>
+</maintainer>
+</pkgmetadata>