dev-libs/sdformat: bump to 6.2.0
authorAlexis Ballier <aballier@gentoo.org>
Mon, 17 Jun 2019 12:58:01 +0000 (14:58 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 26 Jun 2019 14:23:27 +0000 (16:23 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-libs/sdformat/Manifest
dev-libs/sdformat/sdformat-6.2.0.ebuild [new file with mode: 0644]

index dab850325c6dd31c3aac2d974dff50e9792a7fd4..200d1a0dfb0f90263c3c7820092a5ceda9276458 100644 (file)
@@ -1,2 +1,3 @@
 DIST sdformat-6.0.0.tar.bz2 473765 BLAKE2B af3ed14323c2bed8ee5a22580dcb6d73a5e5c772f39ad7f806bf2cdb88d6f2c885585f36a666f2ec711dbd7ad6051ba69d79d2a9f0af7ad3b3681543b9feafe7 SHA512 2188de97cb1eb1117a694d54a0a42112bd7e5b5a4b00c04e049de73a10947904940565e36df93ca08ea5910e628983e234d07c57694c463e0794c48e20cedb21
 DIST sdformat-6.1.0.tar.bz2 465231 BLAKE2B 5b12c4974662245ecb01e342632e274b58512dd2c223dfbf8e1ef9bb2ba267f16bc130b62367b09a9cac9e2ccbd2829439d055f2fa062f34df9f4a6ceb1a571e SHA512 6c5a03e877cba3b734f1cb132582274249bd0cb3a8d463be9077519d8ad126bb15650947b5455b3cdd1abea727918b21369b40a12de4fc5d6806880fd8686b97
+DIST sdformat-6.2.0.tar.bz2 466373 BLAKE2B 67bbe429cbd9871493c29379563f0704b8a050eb8e80645d92a6dea47321e0853bfd4b8442893792a47d743d7b701add21b45fcb7dfd21b2747d43f3f4d19f68 SHA512 e81f0f73e628155ef929c6d7930611f02009a8a217a043e127506c1310ae892b846a8080906feb0932108e9cfa280f473573a5af5096b55b66619b2ac794b0d5
diff --git a/dev-libs/sdformat/sdformat-6.2.0.ebuild b/dev-libs/sdformat/sdformat-6.2.0.ebuild
new file mode 100644 (file)
index 0000000..490e31f
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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/6"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+       >=dev-libs/urdfdom-1:=
+       dev-libs/tinyxml
+       dev-libs/boost:=
+       sci-libs/ignition-math:4=
+"
+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_INTERNAL_URDF=OFF"
+               "-DUSE_EXTERNAL_TINYXML=ON"
+       )
+       cmake-utils_src_configure
+}