Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/sdformat/
Date: Wed, 26 Jun 2019 14:23:44
Message-Id: 1561559007.33fa4a390de86d91e9a264ad92095eb2a108c6f2.aballier@gentoo
1 commit: 33fa4a390de86d91e9a264ad92095eb2a108c6f2
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 17 12:58:01 2019 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 26 14:23:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33fa4a39
7
8 dev-libs/sdformat: bump to 6.2.0
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.14
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 dev-libs/sdformat/Manifest | 1 +
14 dev-libs/sdformat/sdformat-6.2.0.ebuild | 38 +++++++++++++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest
18 index dab850325c6..200d1a0dfb0 100644
19 --- a/dev-libs/sdformat/Manifest
20 +++ b/dev-libs/sdformat/Manifest
21 @@ -1,2 +1,3 @@
22 DIST sdformat-6.0.0.tar.bz2 473765 BLAKE2B af3ed14323c2bed8ee5a22580dcb6d73a5e5c772f39ad7f806bf2cdb88d6f2c885585f36a666f2ec711dbd7ad6051ba69d79d2a9f0af7ad3b3681543b9feafe7 SHA512 2188de97cb1eb1117a694d54a0a42112bd7e5b5a4b00c04e049de73a10947904940565e36df93ca08ea5910e628983e234d07c57694c463e0794c48e20cedb21
23 DIST sdformat-6.1.0.tar.bz2 465231 BLAKE2B 5b12c4974662245ecb01e342632e274b58512dd2c223dfbf8e1ef9bb2ba267f16bc130b62367b09a9cac9e2ccbd2829439d055f2fa062f34df9f4a6ceb1a571e SHA512 6c5a03e877cba3b734f1cb132582274249bd0cb3a8d463be9077519d8ad126bb15650947b5455b3cdd1abea727918b21369b40a12de4fc5d6806880fd8686b97
24 +DIST sdformat-6.2.0.tar.bz2 466373 BLAKE2B 67bbe429cbd9871493c29379563f0704b8a050eb8e80645d92a6dea47321e0853bfd4b8442893792a47d743d7b701add21b45fcb7dfd21b2747d43f3f4d19f68 SHA512 e81f0f73e628155ef929c6d7930611f02009a8a217a043e127506c1310ae892b846a8080906feb0932108e9cfa280f473573a5af5096b55b66619b2ac794b0d5
25
26 diff --git a/dev-libs/sdformat/sdformat-6.2.0.ebuild b/dev-libs/sdformat/sdformat-6.2.0.ebuild
27 new file mode 100644
28 index 00000000000..490e31f59db
29 --- /dev/null
30 +++ b/dev-libs/sdformat/sdformat-6.2.0.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +
37 +inherit cmake-utils
38 +
39 +DESCRIPTION="Simulation Description Format (SDF) parser"
40 +HOMEPAGE="http://sdformat.org/"
41 +SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2"
42 +
43 +LICENSE="Apache-2.0"
44 +# subslot = libsdformat major
45 +SLOT="0/6"
46 +KEYWORDS="~amd64"
47 +IUSE=""
48 +
49 +RDEPEND="
50 + >=dev-libs/urdfdom-1:=
51 + dev-libs/tinyxml
52 + dev-libs/boost:=
53 + sci-libs/ignition-math:4=
54 +"
55 +DEPEND="${RDEPEND}
56 + dev-lang/ruby:*
57 + virtual/pkgconfig
58 +"
59 +CMAKE_BUILD_TYPE=RelWithDebInfo
60 +
61 +src_configure() {
62 + echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake"
63 + sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die
64 + local mycmakeargs=(
65 + "-DUSE_INTERNAL_URDF=OFF"
66 + "-DUSE_EXTERNAL_TINYXML=ON"
67 + )
68 + cmake-utils_src_configure
69 +}