Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ignition-math/
Date: Tue, 29 Nov 2016 12:18:53
Message-Id: 1480421919.eb676fbafde09cef063ed5b3090338ffd52b9ca8.aballier@gentoo
1 commit: eb676fbafde09cef063ed5b3090338ffd52b9ca8
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 09:34:22 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 12:18:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb676fba
7
8 sci-libs/ignition-math: bump to 2.6.0
9
10 Package-Manager: portage-2.3.2
11
12 sci-libs/ignition-math/Manifest | 1 +
13 sci-libs/ignition-math/ignition-math-2.6.0.ebuild | 29 +++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/sci-libs/ignition-math/Manifest b/sci-libs/ignition-math/Manifest
17 index 555f020..bef53ba 100644
18 --- a/sci-libs/ignition-math/Manifest
19 +++ b/sci-libs/ignition-math/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ignition-math2_2.5.0.tar.bz2 360006 SHA256 500b827c7b69dc2868cde8ade60110c948195b16d1d4cf103c301e3b54dc65b4 SHA512 64c15af499b249cf1f60d7c83923da3304756e86ae88ae07bfd0d7d53db8a37b079e38917f367465af5ec3fb37071d76d2c33ae9b63ecdc55beb489f21157835 WHIRLPOOL 4437ae0ddcf5eade0595c3add71650a9531c3cf04c425a736a0060e7507ea573162b7114f1fbeb18f885c2277d06797aab9bfeba7c3bbd83fff0de2dbff3d581
22 +DIST ignition-math2_2.6.0.tar.bz2 366416 SHA256 942b10bdcb0bdd389b5cd907ad33b87e93a5ed6c5fd822a93bd92ae9be98a29b SHA512 eb8f3566b44ae5e8b2e18c31302cccefd8b4ebb94e999d058e95ffe9c117cb888418fd513d2e92637b200e3688c89972ef42c6b8a04fdf950b130264de87eb16 WHIRLPOOL bdda60bbac9437235f55178579902757b8fd3d7855efd211faca88f5a804ba744bfef9e786618eeb573a72ce2f4a6017e93e7e04bf621b09acfc26e84204051f
23 DIST ignition-math_1.0.0.tar.bz2 312262 SHA256 aa7b5fc9a7732a72f2d45c25bea8280b2230fcd52fbc0159cf7f1224257e72f6 SHA512 21199854482c6cf30c345d27fe4975aa30a42f03c2bfb0fd5dfe0bbc309d686f2760a6ccc52f8e47bdf5d5db05fbbdcb2f9393c4a91ee054a78def5df8089950 WHIRLPOOL 7f088aea5bd7f2510043c5aad35e4ca814936159a4596657f2af02dc38bdb5e84db002cbb8f8ab8ed0ff0793af423cfd6d31714d6d56808d41ffeca7e3629e81
24
25 diff --git a/sci-libs/ignition-math/ignition-math-2.6.0.ebuild b/sci-libs/ignition-math/ignition-math-2.6.0.ebuild
26 new file mode 100644
27 index 00000000..9ae7d08
28 --- /dev/null
29 +++ b/sci-libs/ignition-math/ignition-math-2.6.0.ebuild
30 @@ -0,0 +1,29 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit cmake-utils vcs-snapshot flag-o-matic
38 +
39 +DESCRIPTION="A small, fast, and high performance math library for robot applications"
40 +HOMEPAGE="http://ignitionrobotics.org/libraries/math"
41 +SRC_URI="https://bitbucket.org/ignitionrobotics/ign-math/get/${PN}2_${PV}.tar.bz2"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="2/2"
45 +KEYWORDS="~amd64"
46 +IUSE=""
47 +
48 +DEPEND=""
49 +RDEPEND="${DEPEND}"
50 +S="${WORKDIR}/${PN}2_${PV}"
51 +CMAKE_BUILD_TYPE=RelWithDebInfo
52 +
53 +src_configure() {
54 + # upstream appends this conditionally...
55 + append-flags "-fPIC"
56 + echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake"
57 + sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die
58 + cmake-utils_src_configure
59 +}