From a5c0c0ad672d2a644c4f1aa54af28e5def4230e4 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 19 Jan 2016 14:00:46 +0100 Subject: dev-libs/sdformat: bump to 4.0.0; unkeyworded since it breaks gazebo Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- dev-libs/sdformat/Manifest | 1 + dev-libs/sdformat/sdformat-4.0.0.ebuild | 40 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-libs/sdformat/sdformat-4.0.0.ebuild (limited to 'dev-libs/sdformat') diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest index 09445db4ec50..826632f24b4c 100644 --- a/dev-libs/sdformat/Manifest +++ b/dev-libs/sdformat/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-libs/sdformat/sdformat-4.0.0.ebuild b/dev-libs/sdformat/sdformat-4.0.0.ebuild new file mode 100644 index 000000000000..59a1c8f82077 --- /dev/null +++ b/dev-libs/sdformat/sdformat-4.0.0.ebuild @@ -0,0 +1,40 @@ +# 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" +# breaks gazebo +#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 +} -- cgit v1.2.3-65-gdbad