diff options
-rw-r--r-- | dev-libs/sdformat/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/sdformat/sdformat-4.1.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest index 826632f24b4..f228ed8a6aa 100644 --- a/dev-libs/sdformat/Manifest +++ b/dev-libs/sdformat/Manifest @@ -1,3 +1,4 @@ DIST sdformat-3.6.0.tar.bz2 426280 SHA256 c7ddf7958aaae2b143c713a44a4e83210f9753bce8f0dccbaf9cfc41293896cd SHA512 01d765b4dbcc53a0c8f6e3bee738a7ebd1d3c14f5485848ddaa620ef150fe10f4ea891a5b10eb82308e83063b7467b2a84004b19825b7f3798ab049ebca9ee68 WHIRLPOOL 4ca9d2d9de6977fc61c2b12681800b9cb880cee97e6ee2f77af5a408905ece67e902165715e1a3768b95a5c3fb2758b0eafb4a498b748eac048b7c9ce8eff3c8 DIST sdformat-3.7.0.tar.bz2 437218 SHA256 18251b133e4fde105f883518691f15fc9f1fc2af8b89ab6de4bc26b9df42761e SHA512 574132d91e20cf5a049d4d90602021f402ba9a6712d1db9ea513119ceb619af8efef0b5c637a755675896ba46e6325b8a038d4074e11b1de80a577696c73d650 WHIRLPOOL 5302c75b26ffd5517bf1254afef2e38ce0d845fb7a7db761f65cb6b03a27a86672a99b6610af257948074bfbbe13cc24042ed7699b4f2d0dacb5157aa8cd6026 DIST sdformat-4.0.0.tar.bz2 443383 SHA256 b0f94bb40b0d83e35ff250a7916fdfd6df5cdc1e60c47bc53dd2da5e2378163e SHA512 1717695adad041ba1dac9407412ffd7a40bc41483dd637c40a7a9f8773197f5b16d670b2bbb511e88d90b7806f4b81f271084ece787e398d554ab95443bd81c9 WHIRLPOOL d35fc6af8edefe0271fd363605675c85ff7860bab18e50bed980daf2a76a4c8d63bb3198e774b51269525373a4c9ee69d20c6fad2bf208e345396a1caee6c135 +DIST sdformat-4.1.0.tar.bz2 455347 SHA256 0f63e446a29073affed2427214aa04d23c1cb8331cdd1bd7d48768d7eee5862a SHA512 ce9b89c39b636de12811181dd9f52a7e6ff3abd1ac3ca9195cd93dd2665eadd455a5e989c063046ea5c1db3eb1898017a2546189027ed93e240f1457b47cd604 WHIRLPOOL c55353b8531a787092ac5ad4d225a38fcc5a0825792422a44a8d81e8e69ec22e9cd6a05948e68ff5756df3691c0ee12d596ce577b66b52566713a6fc69a39107 diff --git a/dev-libs/sdformat/sdformat-4.1.0.ebuild b/dev-libs/sdformat/sdformat-4.1.0.ebuild new file mode 100644 index 00000000000..e125dad0832 --- /dev/null +++ b/dev-libs/sdformat/sdformat-4.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/4" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-libs/urdfdom + dev-libs/tinyxml + dev-libs/boost:= + sci-libs/ignition-math:2= +" +DEPEND="${RDEPEND} + dev-lang/ruby:* + virtual/pkgconfig +" +CMAKE_BUILD_TYPE=RelWithDebInfo + +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 +} |