summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-14 05:34:37 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 07:36:58 +0200
commit4f2c370d4088532b499fca52bf3d53d5f49a2325 (patch)
tree3cc9452ac80a3753b997d744aa9c58e540749875 /dev-libs/sdformat
parentros-meta/nodelet_core: Bump to 1.9.12. (diff)
downloadgentoo-4f2c370d4088532b499fca52bf3d53d5f49a2325.tar.gz
gentoo-4f2c370d4088532b499fca52bf3d53d5f49a2325.tar.bz2
gentoo-4f2c370d4088532b499fca52bf3d53d5f49a2325.zip
dev-libs/sdformat: bump to 5.2.0
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-libs/sdformat')
-rw-r--r--dev-libs/sdformat/Manifest1
-rw-r--r--dev-libs/sdformat/sdformat-5.2.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest
index 074c5731c028..6027f1f0a9c6 100644
--- a/dev-libs/sdformat/Manifest
+++ b/dev-libs/sdformat/Manifest
@@ -1 +1,2 @@
DIST sdformat-5.1.0.tar.bz2 441961 SHA256 ccb9b7628a3cd171536e37487bf4c2fd1df909940714e7818e6fd396a3ef01eb SHA512 7d39838097c594855668bf6604174260d6d6f17da980db8877b42720d008186bd694dc7ff987dd71f47f1ad6eeaf408ce99e4816a4578977bc8871046a5d4c94 WHIRLPOOL cad65140a9404c699a34e0c8d06406f5c6ccc64913cf708e59bc4b64173fc813d16a28964a29f8e24cd8a2a3cf14a80faa27b597874c07d5ff962dc46055922e
+DIST sdformat-5.2.0.tar.bz2 445542 SHA256 b7ba88275c28c3c26fe245b1ac4aad7337c2fd53d6c1e1c94c04f359f2309d51 SHA512 65df9f0d351ab894af41cc2081dc8ab179336092ceba17979720bed4d58f77e9648863501d83f073ea8478197e7e0a7d7a9f8efd3a54d22ee28d74765cebcee7 WHIRLPOOL 62f7080c209c67be9c3863725a51288fda2fd7c1e0330cd85f2d0970cbdd1d1538c0c5b18135f180668ed5937d1a3369415331fac596c8eaeaff19c7141fcf43
diff --git a/dev-libs/sdformat/sdformat-5.2.0.ebuild b/dev-libs/sdformat/sdformat-5.2.0.ebuild
new file mode 100644
index 000000000000..c3c7512d27ef
--- /dev/null
+++ b/dev-libs/sdformat/sdformat-5.2.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
+}