commit:     a39cf55434e15249a864f6ee83df180cb2862f1e
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  4 21:57:49 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Dec  4 22:01:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39cf554

dev-libs/sdformat: bump to 5.3.0

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-libs/sdformat/Manifest              |  3 ++-
 dev-libs/sdformat/sdformat-5.3.0.ebuild | 39 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest
index b78154b3f43..4bbb39abb03 100644
--- a/dev-libs/sdformat/Manifest
+++ b/dev-libs/sdformat/Manifest
@@ -1 +1,2 @@
-DIST sdformat-5.2.0.tar.bz2 445542 SHA256 
b7ba88275c28c3c26fe245b1ac4aad7337c2fd53d6c1e1c94c04f359f2309d51 SHA512 
65df9f0d351ab894af41cc2081dc8ab179336092ceba17979720bed4d58f77e9648863501d83f073ea8478197e7e0a7d7a9f8efd3a54d22ee28d74765cebcee7
 WHIRLPOOL 
62f7080c209c67be9c3863725a51288fda2fd7c1e0330cd85f2d0970cbdd1d1538c0c5b18135f180668ed5937d1a3369415331fac596c8eaeaff19c7141fcf43
+DIST sdformat-5.2.0.tar.bz2 445542 BLAKE2B 
89daf9e03613bd88aceb1a2034cf0f9efe7b28ffb7aef8add4fc484a6e78d7189b4b6183fca83db4bb8017a4901d2fb3df7dc43e995bf2da8bb0fcde9510c6c9
 SHA512 
65df9f0d351ab894af41cc2081dc8ab179336092ceba17979720bed4d58f77e9648863501d83f073ea8478197e7e0a7d7a9f8efd3a54d22ee28d74765cebcee7
+DIST sdformat-5.3.0.tar.bz2 447471 BLAKE2B 
9b511782f5d2517778fc0c977d1deab00ee7789f50628546b5ca8c1f464cc3ca132b83e1054867ec1d6678bca664232e1d9a499ff095d4f9a623f5061fc340c1
 SHA512 
63106bc438decb00157eca5fd3f7f783197a1f17a76008bee5d18d5c146f199e67852ef74cbbc53918760a0cdf382628ea84d2b4618512738cd574de1fc719d8

diff --git a/dev-libs/sdformat/sdformat-5.3.0.ebuild 
b/dev-libs/sdformat/sdformat-5.3.0.ebuild
new file mode 100644
index 00000000000..c3c7512d27e
--- /dev/null
+++ b/dev-libs/sdformat/sdformat-5.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Simulation Description Format (SDF) parser"
+HOMEPAGE="http://sdformat.org/";
+SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2";
+
+LICENSE="Apache-2.0"
+# subslot = libsdformat major
+SLOT="0/5"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+       >=dev-libs/urdfdom-1:=
+       dev-libs/tinyxml
+       dev-libs/boost:=
+       sci-libs/ignition-math:3=
+"
+DEPEND="${RDEPEND}
+       dev-lang/ruby:*
+       virtual/pkgconfig
+"
+CMAKE_BUILD_TYPE=RelWithDebInfo
+PATCHES=( "${FILESDIR}/urdfdom1.patch" )
+
+src_configure() {
+       echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > 
"${S}/cmake/HostCFlags.cmake"
+       sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO 
\" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die
+       local mycmakeargs=(
+               "-DUSE_EXTERNAL_URDF=ON"
+               "-DUSE_EXTERNAL_TINYXML=ON"
+       )
+       cmake-utils_src_configure
+}

Reply via email to