1 |
commit: 82a39d7b0cf969b36b5c82196629cae5e62e626b |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 28 09:52:02 2018 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 28 12:54:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a39d7b |
7 |
|
8 |
dev-libs/sdformat: bump to 6.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/sdformat/Manifest | 1 + |
13 |
dev-libs/sdformat/sdformat-6.0.0.ebuild | 38 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest |
17 |
index 4bbb39abb03..ad929aff9da 100644 |
18 |
--- a/dev-libs/sdformat/Manifest |
19 |
+++ b/dev-libs/sdformat/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST sdformat-5.2.0.tar.bz2 445542 BLAKE2B 89daf9e03613bd88aceb1a2034cf0f9efe7b28ffb7aef8add4fc484a6e78d7189b4b6183fca83db4bb8017a4901d2fb3df7dc43e995bf2da8bb0fcde9510c6c9 SHA512 65df9f0d351ab894af41cc2081dc8ab179336092ceba17979720bed4d58f77e9648863501d83f073ea8478197e7e0a7d7a9f8efd3a54d22ee28d74765cebcee7 |
22 |
DIST sdformat-5.3.0.tar.bz2 447471 BLAKE2B 9b511782f5d2517778fc0c977d1deab00ee7789f50628546b5ca8c1f464cc3ca132b83e1054867ec1d6678bca664232e1d9a499ff095d4f9a623f5061fc340c1 SHA512 63106bc438decb00157eca5fd3f7f783197a1f17a76008bee5d18d5c146f199e67852ef74cbbc53918760a0cdf382628ea84d2b4618512738cd574de1fc719d8 |
23 |
+DIST sdformat-6.0.0.tar.bz2 473765 BLAKE2B af3ed14323c2bed8ee5a22580dcb6d73a5e5c772f39ad7f806bf2cdb88d6f2c885585f36a666f2ec711dbd7ad6051ba69d79d2a9f0af7ad3b3681543b9feafe7 SHA512 2188de97cb1eb1117a694d54a0a42112bd7e5b5a4b00c04e049de73a10947904940565e36df93ca08ea5910e628983e234d07c57694c463e0794c48e20cedb21 |
24 |
|
25 |
diff --git a/dev-libs/sdformat/sdformat-6.0.0.ebuild b/dev-libs/sdformat/sdformat-6.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..559a61abd08 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/sdformat/sdformat-6.0.0.ebuild |
30 |
@@ -0,0 +1,38 @@ |
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 |
37 |
+ |
38 |
+DESCRIPTION="Simulation Description Format (SDF) parser" |
39 |
+HOMEPAGE="http://sdformat.org/" |
40 |
+SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+# subslot = libsdformat major |
44 |
+SLOT="0/6" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-libs/urdfdom-1:= |
50 |
+ dev-libs/tinyxml |
51 |
+ dev-libs/boost:= |
52 |
+ sci-libs/ignition-math:4= |
53 |
+" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-lang/ruby:* |
56 |
+ virtual/pkgconfig |
57 |
+" |
58 |
+CMAKE_BUILD_TYPE=RelWithDebInfo |
59 |
+ |
60 |
+src_configure() { |
61 |
+ echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake" |
62 |
+ sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die |
63 |
+ local mycmakeargs=( |
64 |
+ "-DUSE_INTERNAL_URDF=OFF" |
65 |
+ "-DUSE_EXTERNAL_TINYXML=ON" |
66 |
+ ) |
67 |
+ cmake-utils_src_configure |
68 |
+} |