sci-electronics/gazebo: bump to 9.4.1
authorAlexis Ballier <aballier@gentoo.org>
Wed, 3 Oct 2018 13:50:41 +0000 (15:50 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 3 Oct 2018 13:52:10 +0000 (15:52 +0200)
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
sci-electronics/gazebo/Manifest
sci-electronics/gazebo/gazebo-9.4.1.ebuild [new file with mode: 0644]

index 5e7b82c4c6d3f8180f0c30f51ff93611f137de05..b4fc3af8843a4923c2d257aabec8a598c0e64465 100644 (file)
@@ -1,2 +1,3 @@
 DIST gazebo-9.3.0.tar.bz2 52924750 BLAKE2B c908827fca7786b0dac10401549265d6d0ca0ce5c952816b5d3d5f2feec096f0465778b4165a4054abd285ec1fedc80e3d2ed3c81be234574d7419d2635f61f4 SHA512 5874582e015cfc2b690b26cd810e4c79cc5dba1ecea7eaa72d3c12e0a5f3dd6f42185666f0cf36a1d00564b642c2c63662b06657da82cfd2ce3ebd9219012cb4
 DIST gazebo-9.3.1.tar.bz2 52961705 BLAKE2B d1860a13f1c23d3ffaeb8087c94a5b72682c99eec03927105a4e2fc9e951a41c2723f394fe613be4a2603aacd153817e5445b21518ecdb0f0d4d8e6eb4ee28eb SHA512 d3d41a32cab440358fb1dd2524d9a1601fbff8b272c86120d82ddc3337f2a8dcda46c3ba24f95dba99e061ef69c15ac919b5c8e4d16ea71a9da572bb9a5cee12
+DIST gazebo-9.4.1.tar.bz2 53014386 BLAKE2B c3e450f869f3e5f88bd9b5f5924a6b003880fff492849d6570222c7c37e98f1b89df4dca1af16c9a766b049067bbcc9d86334882041c6420b6b5221dfd643bb0 SHA512 76fb217c396f4d70fa4617df3aa5a672b5ddd4680df22eb3fbe67182ef8b3e05affda2e61f71d03e31f9c47b2f7d56aac162b63dec2f122cef1e47fd65d25f02
diff --git a/sci-electronics/gazebo/gazebo-9.4.1.ebuild b/sci-electronics/gazebo/gazebo-9.4.1.ebuild
new file mode 100644 (file)
index 0000000..d1bd0c5
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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://osrf-distributions.s3.amazonaws.com/gazebo/releases/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+# Subslot = major version = soname of libs
+SLOT="0/9"
+KEYWORDS="~amd64"
+IUSE="cpu_flags_x86_sse2 libav test"
+
+RDEPEND="
+       >=dev-libs/protobuf-2:=
+       virtual/opengl
+       media-libs/openal
+       net-misc/curl
+       dev-libs/tinyxml
+       >=dev-libs/tinyxml2-6:=
+       dev-libs/libtar
+       dev-cpp/tbb
+       >=dev-games/ogre-1.7.4:=[freeimage]
+       <dev-games/ogre-1.10
+       >=media-libs/freeimage-3.15.4[png]
+       sci-libs/libccd
+       libav? ( >=media-video/libav-9:0= )
+       !libav? ( >=media-video/ffmpeg-2.6:0= )
+       sci-libs/gts
+       >=sci-physics/bullet-2.82
+       >=dev-libs/sdformat-6.0:=
+       dev-qt/qtwidgets:5
+       dev-qt/qtcore:5
+       dev-qt/qtopengl:5
+       dev-libs/boost:=[threads]
+       sci-libs/gdal:=
+       virtual/libusb:1
+       dev-libs/libspnav
+       media-libs/freeimage
+       sci-libs/hdf5:=[cxx]
+       sys-apps/util-linux
+       media-gfx/graphviz
+       net-libs/ignition-msgs:1=
+       sci-libs/ignition-math:4=
+       net-libs/ignition-transport:4=
+       x11-libs/qwt:6=[qt5(+)]
+"
+DEPEND="${RDEPEND}
+       dev-qt/qttest:5
+       app-text/ronn
+       app-arch/gzip
+       virtual/pkgconfig
+       x11-apps/mesa-progs
+       test? ( dev-libs/libxslt )
+"
+CMAKE_BUILD_TYPE=RelWithDebInfo
+PATCHES=( "${FILESDIR}/qwt.patch" )
+
+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"
+               "-DBUILD_TESTING=$(usex test TRUE FALSE)"
+               "-DENABLE_SCREEN_TESTS=FALSE"
+               "-DUSE_EXTERNAL_TINYXML2=TRUE"
+       )
+       cmake-utils_src_configure
+}