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: Mon, 11 Jul 2016 07:58:54
Message-Id: 1468223922.b709175a9c9eec2ad91cda6eff07f221637c6c9b.aballier@gentoo
1 commit: b709175a9c9eec2ad91cda6eff07f221637c6c9b
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 11 07:57:48 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 11 07:58:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b709175a
7
8 dev-libs/sdformat: bump to 4.1.1
9
10 Package-Manager: portage-2.3.0
11
12 dev-libs/sdformat/Manifest | 1 +
13 dev-libs/sdformat/sdformat-4.1.1.ebuild | 39 +++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest
17 index 0f95c4e..db90c52 100644
18 --- a/dev-libs/sdformat/Manifest
19 +++ b/dev-libs/sdformat/Manifest
20 @@ -1 +1,2 @@
21 DIST sdformat-4.1.0.tar.bz2 455347 SHA256 0f63e446a29073affed2427214aa04d23c1cb8331cdd1bd7d48768d7eee5862a SHA512 ce9b89c39b636de12811181dd9f52a7e6ff3abd1ac3ca9195cd93dd2665eadd455a5e989c063046ea5c1db3eb1898017a2546189027ed93e240f1457b47cd604 WHIRLPOOL c55353b8531a787092ac5ad4d225a38fcc5a0825792422a44a8d81e8e69ec22e9cd6a05948e68ff5756df3691c0ee12d596ce577b66b52566713a6fc69a39107
22 +DIST sdformat-4.1.1.tar.bz2 443491 SHA256 e2656984ea0411f5132363c2722b1016524195853b05fdd99e9b7dd3fa4031b1 SHA512 c124d8d4cde4dddd289ce2a83708fe3c6db31df186697b9c8c9d7fbec136cbd8f0418576590897089288885688369dae3ecb0993d74a2228077c7928499bfb32 WHIRLPOOL 3f3ba54d5bda89da87d9d8ff254b153929dd900d7611f36d92e2c5ea930b96416ff7c41b303aa04fb43c464e21739ada48fbfa175ef6dacdb53dfb034ad5cd67
23
24 diff --git a/dev-libs/sdformat/sdformat-4.1.1.ebuild b/dev-libs/sdformat/sdformat-4.1.1.ebuild
25 new file mode 100644
26 index 0000000..68deded
27 --- /dev/null
28 +++ b/dev-libs/sdformat/sdformat-4.1.1.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
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/4"
45 +KEYWORDS="~amd64"
46 +IUSE=""
47 +
48 +RDEPEND="
49 + dev-libs/urdfdom
50 + dev-libs/tinyxml
51 + dev-libs/boost:=
52 + sci-libs/ignition-math:2=
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_EXTERNAL_URDF=ON"
65 + "-DUSE_EXTERNAL_TINYXML=ON"
66 + )
67 + cmake-utils_src_configure
68 +}