dev-libs/sdformat: bump to 5.1.0
authorAlexis Ballier <aballier@gentoo.org>
Sat, 25 Feb 2017 09:53:40 +0000 (10:53 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 25 Feb 2017 09:54:57 +0000 (10:54 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-libs/sdformat/Manifest
dev-libs/sdformat/sdformat-5.1.0.ebuild [new file with mode: 0644]

index d18ab74ba0060cbcf8350ad51d9ee99ccb50b234..af2a1aa7fa1c8b175e25715c1ac3d4ba88cbb49a 100644 (file)
@@ -1 +1,2 @@
 DIST sdformat-5.0.0.tar.bz2 445867 SHA256 d3fb29392a0b9878eaaf7c9aec144f5ca65bba4649bda15bd5d4603d7bb58f10 SHA512 a7e4a1fae9a3d397a7cc4dc72a4c50aa67e7af1f578213fe413ef47d8bebd611711c7c8e3fcb9fe59c334c6a481c32ac72f79b1a5dfc0b917d6d7c095cc08150 WHIRLPOOL 08b7be6ef2bb4c0162d989ed404e862599caf9ea8a37f00a8627d82ed7fcc83fcb1d063e3ce8b326d36095004f26621b995de6c7dcce3119544e8f5478d2b848
+DIST sdformat-5.1.0.tar.bz2 441961 SHA256 ccb9b7628a3cd171536e37487bf4c2fd1df909940714e7818e6fd396a3ef01eb SHA512 7d39838097c594855668bf6604174260d6d6f17da980db8877b42720d008186bd694dc7ff987dd71f47f1ad6eeaf408ce99e4816a4578977bc8871046a5d4c94 WHIRLPOOL cad65140a9404c699a34e0c8d06406f5c6ccc64913cf708e59bc4b64173fc813d16a28964a29f8e24cd8a2a3cf14a80faa27b597874c07d5ff962dc46055922e
diff --git a/dev-libs/sdformat/sdformat-5.1.0.ebuild b/dev-libs/sdformat/sdformat-5.1.0.ebuild
new file mode 100644 (file)
index 0000000..1308807
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 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/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
+}