1 |
commit: 4cf95c412621d88b6b72b431cc8d634de25f8fa4 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 17 15:29:42 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 17 15:53:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf95c41 |
7 |
|
8 |
sci-electronics/gazebo: bump to 11.1.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.3, Repoman-2.3.23 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
sci-electronics/gazebo/Manifest | 1 + |
14 |
sci-electronics/gazebo/files/boost174.patch | 20 +++++++ |
15 |
sci-electronics/gazebo/gazebo-11.1.0.ebuild | 85 +++++++++++++++++++++++++++++ |
16 |
3 files changed, 106 insertions(+) |
17 |
|
18 |
diff --git a/sci-electronics/gazebo/Manifest b/sci-electronics/gazebo/Manifest |
19 |
index bd4b17f4b6d..48c83055e43 100644 |
20 |
--- a/sci-electronics/gazebo/Manifest |
21 |
+++ b/sci-electronics/gazebo/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST gazebo-10.1.0.tar.bz2 52723379 BLAKE2B c7902c1797efef80b3110e988e1c01d171f652803a2ac28b880d5a01e2f981655db2d9925263030948d351e95af39d435b8618bf703f56a29033db05f0b29e2f SHA512 8febea84240eeb2367d783b36e4c626145ccf13177837ccb73b6ed87f8b264a337c6f8dc53d8583ce5d903b6152eaa5234ec2015ee292a1681800af2800d9eb7 |
24 |
DIST gazebo-11.0.0.tar.bz2 53806265 BLAKE2B 0658bdfd7d1f130767bd38cc2b33379f66f8cd92a9e6496581cd660638fb0307f87af19bcd5bd9ec2edb2be980e964297241ab4c1cec855751fdd7b394c717e9 SHA512 7c6cbb17c52829bb553f57a4bc2d515211aefa105d97cd5e71ff239244e49312562af1c901dac6c88b982986dd1318c0bb780c0a68f10ce78f25e12f031ba934 |
25 |
+DIST gazebo-11.1.0.tar.bz2 53856366 BLAKE2B 6e3df164e40c44265da68eae260012d873121631e56e9ae4ca3d8355e9c22ac80811549103e83d5f20d40f92c80f7a7a313c2395209b1c5177f518d0c0b2117c SHA512 39866991d8b996656a9f927a70e215175ecef671a1e317bfe9221df38bdc08be9825d36018da90cc6843480643a7716586ce8d61f36ffc8b4558ef7096ef6f76 |
26 |
|
27 |
diff --git a/sci-electronics/gazebo/files/boost174.patch b/sci-electronics/gazebo/files/boost174.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..82bbdf40f7a |
30 |
--- /dev/null |
31 |
+++ b/sci-electronics/gazebo/files/boost174.patch |
32 |
@@ -0,0 +1,20 @@ |
33 |
+Index: gazebo-11.1.0/plugins/SimpleTrackedVehiclePlugin.cc |
34 |
+=================================================================== |
35 |
+--- gazebo-11.1.0.orig/plugins/SimpleTrackedVehiclePlugin.cc |
36 |
++++ gazebo-11.1.0/plugins/SimpleTrackedVehiclePlugin.cc |
37 |
+@@ -30,6 +30,7 @@ |
38 |
+ |
39 |
+ #include "plugins/SimpleTrackedVehiclePlugin.hh" |
40 |
+ |
41 |
++#if BOOST_VERSION < 107400 || defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) |
42 |
+ namespace std { |
43 |
+ template<class T> |
44 |
+ class hash<boost::shared_ptr<T>> { |
45 |
+@@ -38,6 +39,7 @@ class hash<boost::shared_ptr<T>> { |
46 |
+ } |
47 |
+ }; |
48 |
+ } |
49 |
++#endif |
50 |
+ |
51 |
+ namespace gazebo |
52 |
+ { |
53 |
|
54 |
diff --git a/sci-electronics/gazebo/gazebo-11.1.0.ebuild b/sci-electronics/gazebo/gazebo-11.1.0.ebuild |
55 |
new file mode 100644 |
56 |
index 00000000000..ee7b5f268a7 |
57 |
--- /dev/null |
58 |
+++ b/sci-electronics/gazebo/gazebo-11.1.0.ebuild |
59 |
@@ -0,0 +1,85 @@ |
60 |
+# Copyright 1999-2020 Gentoo Authors |
61 |
+# Distributed under the terms of the GNU General Public License v2 |
62 |
+ |
63 |
+EAPI=7 |
64 |
+ |
65 |
+inherit cmake-utils flag-o-matic |
66 |
+ |
67 |
+DESCRIPTION="A 3D multiple robot simulator with dynamics" |
68 |
+HOMEPAGE="http://gazebosim.org/" |
69 |
+SRC_URI="https://osrf-distributions.s3.amazonaws.com/gazebo/releases/${P}.tar.bz2" |
70 |
+ |
71 |
+LICENSE="Apache-2.0" |
72 |
+# Subslot = major version = soname of libs |
73 |
+SLOT="0/11" |
74 |
+KEYWORDS="~amd64" |
75 |
+IUSE="cpu_flags_x86_sse2 test" |
76 |
+RESTRICT="!test? ( test )" |
77 |
+ |
78 |
+RDEPEND=" |
79 |
+ >=dev-libs/protobuf-2:= |
80 |
+ virtual/opengl |
81 |
+ media-libs/openal |
82 |
+ net-misc/curl |
83 |
+ dev-libs/tinyxml |
84 |
+ >=dev-libs/tinyxml2-6:= |
85 |
+ dev-libs/libtar |
86 |
+ dev-cpp/tbb |
87 |
+ >=dev-games/ogre-1.7.4:=[freeimage] |
88 |
+ <dev-games/ogre-1.10 |
89 |
+ >=media-libs/freeimage-3.15.4[png] |
90 |
+ sci-libs/libccd |
91 |
+ >=media-video/ffmpeg-2.6:0= |
92 |
+ sci-libs/gts |
93 |
+ >=sci-physics/bullet-2.82 |
94 |
+ >=dev-libs/sdformat-9.1:= |
95 |
+ dev-qt/qtwidgets:5 |
96 |
+ dev-qt/qtcore:5 |
97 |
+ dev-qt/qtopengl:5 |
98 |
+ dev-libs/boost:=[threads] |
99 |
+ sci-libs/gdal:= |
100 |
+ virtual/libusb:1 |
101 |
+ dev-libs/libspnav |
102 |
+ media-libs/freeimage |
103 |
+ sci-libs/hdf5:=[cxx] |
104 |
+ sys-apps/util-linux |
105 |
+ media-gfx/graphviz |
106 |
+ net-libs/ignition-msgs:5= |
107 |
+ sci-libs/ignition-math:6= |
108 |
+ net-libs/ignition-transport:8= |
109 |
+ sci-libs/ignition-common:3= |
110 |
+ sci-libs/ignition-fuel-tools:4= |
111 |
+ x11-libs/qwt:6=[qt5(+)] |
112 |
+" |
113 |
+DEPEND="${RDEPEND} |
114 |
+ dev-qt/qttest:5 |
115 |
+ x11-apps/mesa-progs |
116 |
+ test? ( dev-libs/libxslt ) |
117 |
+" |
118 |
+BDEPEND=" |
119 |
+ app-text/ronn |
120 |
+ app-arch/gzip |
121 |
+ virtual/pkgconfig |
122 |
+" |
123 |
+CMAKE_BUILD_TYPE=RelWithDebInfo |
124 |
+PATCHES=( |
125 |
+ "${FILESDIR}/qwt.patch" |
126 |
+ "${FILESDIR}/boost173.patch" |
127 |
+ "${FILESDIR}/cmake.patch" |
128 |
+ "${FILESDIR}/boost174.patch" |
129 |
+) |
130 |
+ |
131 |
+src_configure() { |
132 |
+ # doesnt build with as-needed |
133 |
+ #append-ldflags "-Wl,--no-as-needed" |
134 |
+ |
135 |
+ local mycmakeargs=( |
136 |
+ "-DUSE_UPSTREAM_CFLAGS=OFF" |
137 |
+ "-DSSE2_FOUND=$(usex cpu_flags_x86_sse2 TRUE FALSE)" |
138 |
+ "-DUSE_HOST_CFLAGS=FALSE" |
139 |
+ "-DBUILD_TESTING=$(usex test TRUE FALSE)" |
140 |
+ "-DENABLE_SCREEN_TESTS=FALSE" |
141 |
+ "-DUSE_EXTERNAL_TINYXML2=TRUE" |
142 |
+ ) |
143 |
+ cmake-utils_src_configure |
144 |
+} |