Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gazebo/
Date: Mon, 16 Jul 2018 10:51:25
Message-Id: 1531738242.85bf4f49ee470c4184458074d773eab5e17517bd.aballier@gentoo
1 commit: 85bf4f49ee470c4184458074d773eab5e17517bd
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 16 10:50:10 2018 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 16 10:50:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bf4f49
7
8 sci-electronics/gazebo: bump to 9.2.0
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 sci-electronics/gazebo/Manifest | 1 +
13 sci-electronics/gazebo/gazebo-9.2.0.ebuild | 78 ++++++++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/sci-electronics/gazebo/Manifest b/sci-electronics/gazebo/Manifest
17 index 5e7285f5341..71b40029b9c 100644
18 --- a/sci-electronics/gazebo/Manifest
19 +++ b/sci-electronics/gazebo/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gazebo-9.0.0.tar.bz2 52779811 BLAKE2B a85c9fd0e4b805e28ea8fb71c068ad53f18db91a474631b5da73a2a565181c8c22270742c9fabf1656d322fd63ba1caac3286b992d7dc7b197a0582ed724d06e SHA512 52394445d34ce24b2036102be08b6b626fb7021dd0ebaab8e588b68e1e0790d2e26ed2af8ead8f37b0c2e2d37c3d7fc22f95b0b2a8bd95e8dcd77e7fb296dd50
22 DIST gazebo-9.1.1.tar.bz2 52978923 BLAKE2B 46ddcc0928b3f591356379e20fa5478e385046f8ef2295730b5cb69e07636928226e423db654697a32bcab14846cd13dfe6248017fe1f410d4060f372154ae69 SHA512 1892a3f09d98b75cfdd30b020eb335b4e267db161850eba58153c5be4beb1c2053843f336d63fe638e3ba6466a9d746210a8e7cf3e2d577cc380ce4904576b3c
23 +DIST gazebo-9.2.0.tar.bz2 52929158 BLAKE2B 208b911551d4a16f5ab2e37b033e0f132bfbf4cdf01129fa4849d67ea9d2e092e00c3382e925a437d67916ddbaaf8ac499b21231ebdc5bd2302865476b9773df SHA512 4c91c66ce4b5d63cb97d948de5f9d5ae9dcb88de8f5e650a6f6dee085cd7539454a25871691a1bdb38a3c65fa52c5ea1b94fbd3a618a77cb234579f2f268a017
24
25 diff --git a/sci-electronics/gazebo/gazebo-9.2.0.ebuild b/sci-electronics/gazebo/gazebo-9.2.0.ebuild
26 new file mode 100644
27 index 00000000000..a1bfd2b1d31
28 --- /dev/null
29 +++ b/sci-electronics/gazebo/gazebo-9.2.0.ebuild
30 @@ -0,0 +1,78 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +
36 +inherit cmake-utils versionator vcs-snapshot flag-o-matic
37 +
38 +DESCRIPTION="A 3D multiple robot simulator with dynamics"
39 +HOMEPAGE="http://gazebosim.org/"
40 +SRC_URI="https://osrf-distributions.s3.amazonaws.com/gazebo/releases/${P}.tar.bz2"
41 +
42 +LICENSE="Apache-2.0"
43 +# Subslot = major version = soname of libs
44 +SLOT="0/9"
45 +KEYWORDS="~amd64"
46 +IUSE="cpu_flags_x86_sse2 libav test"
47 +
48 +RDEPEND="
49 + >=dev-libs/protobuf-2:=
50 + virtual/opengl
51 + media-libs/openal
52 + net-misc/curl
53 + dev-libs/tinyxml
54 + >=dev-libs/tinyxml2-6:=
55 + dev-libs/libtar
56 + dev-cpp/tbb
57 + >=dev-games/ogre-1.7.4:=[freeimage]
58 + <dev-games/ogre-1.10
59 + >=media-libs/freeimage-3.15.4[png]
60 + sci-libs/libccd
61 + libav? ( >=media-video/libav-9:0= )
62 + !libav? ( >=media-video/ffmpeg-2.6:0= )
63 + sci-libs/gts
64 + >=sci-physics/bullet-2.82
65 + >=dev-libs/sdformat-6.0:=
66 + dev-qt/qtwidgets:5
67 + dev-qt/qtcore:5
68 + dev-qt/qtopengl:5
69 + dev-libs/boost:=[threads]
70 + sci-libs/gdal:=
71 + virtual/libusb:1
72 + dev-libs/libspnav
73 + media-libs/freeimage
74 + sci-libs/hdf5:=[cxx]
75 + sys-apps/util-linux
76 + media-gfx/graphviz
77 + net-libs/ignition-msgs:1=
78 + sci-libs/ignition-math:4=
79 + net-libs/ignition-transport:4=
80 + x11-libs/qwt:6=[qt5(+)]
81 +"
82 +DEPEND="${RDEPEND}
83 + dev-qt/qttest:5
84 + app-text/ronn
85 + app-arch/gzip
86 + virtual/pkgconfig
87 + x11-apps/mesa-progs
88 + test? ( dev-libs/libxslt )
89 +"
90 +CMAKE_BUILD_TYPE=RelWithDebInfo
91 +PATCHES=( "${FILESDIR}/qwt.patch" )
92 +
93 +src_configure() {
94 + # doesnt build without it
95 + append-cxxflags "-std=c++11"
96 + # doesnt build with as-needed either
97 + append-ldflags "-Wl,--no-as-needed"
98 +
99 + local mycmakeargs=(
100 + "-DUSE_UPSTREAM_CFLAGS=OFF"
101 + "-DSSE2_FOUND=$(usex cpu_flags_x86_sse2 TRUE FALSE)"
102 + "-DUSE_HOST_CFLAGS=FALSE"
103 + "-DBUILD_TESTING=$(usex test TRUE FALSE)"
104 + "-DENABLE_SCREEN_TESTS=FALSE"
105 + "-DUSE_EXTERNAL_TINYXML2=TRUE"
106 + )
107 + cmake-utils_src_configure
108 +}