summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-09-19 13:46:29 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-09-19 13:58:01 +0200
commit70b01e9dc798eca9c5d82500c96473940cbe772c (patch)
tree051aa6356ccfdb4d686b31c8f40fb8c04a25d91d /dev-libs
parentdev-python/python-daemon: version bump to 2.0.6 (diff)
downloadgentoo-70b01e9dc798eca9c5d82500c96473940cbe772c.tar.gz
gentoo-70b01e9dc798eca9c5d82500c96473940cbe772c.tar.bz2
gentoo-70b01e9dc798eca9c5d82500c96473940cbe772c.zip
dev-libs/sdformat: add missing dep on ignition-math
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/sdformat/sdformat-3.1.1-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/sdformat/sdformat-3.1.1-r1.ebuild b/dev-libs/sdformat/sdformat-3.1.1-r1.ebuild
new file mode 100644
index 000000000000..249e17825c37
--- /dev/null
+++ b/dev-libs/sdformat/sdformat-3.1.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils versionator vcs-snapshot
+
+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"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-libs/urdfdom
+ dev-libs/tinyxml
+ dev-libs/boost:=
+ sci-libs/ignition-math:2=
+"
+DEPEND="${RDEPEND}
+ 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
+}