1 |
commit: 5fc651a8de902683da5110c2265c31b0e9feff54 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 09:57:32 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=5fc651a8 |
7 |
|
8 |
net-libs/ignition-transport: add ignition-transport2 in a new slot |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
net-libs/ignition-transport/Manifest | 1 + |
13 |
.../ignition-transport-2.1.0.ebuild | 38 ++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/ignition-transport/Manifest b/net-libs/ignition-transport/Manifest |
17 |
index f853a63..7e682c8 100644 |
18 |
--- a/net-libs/ignition-transport/Manifest |
19 |
+++ b/net-libs/ignition-transport/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ignition-transport-1.4.0.tar.bz2 349098 SHA256 bc612e9781f9cab81cc4111ed0de07c4838303f67c25bc8b663d394b40a8f5d4 SHA512 23f1d1b6982441786a764f902a849d8466943c457a989638ab5d57e936c9a0d4bab324d60c8d7190e40ecc153736d55cf903df6a57cb2cbbda86bbe79ba1055d WHIRLPOOL 6b019c025bc41ad6e7f3e94f220767a652442a05678718f5e686c71f1e2ed30be60f16fb29cfd8df976d87827647f74b3b8664aeea319cb68e44802fbd9f81fa |
22 |
+DIST ignition-transport2-2.1.0.tar.bz2 372107 SHA256 f1190ee6a880962b9083328efcaf4c8fe4e9f00504da4432cde69820edbc212e SHA512 91aa6dc60db69b6c2fe0f694ef7d0fc91d68bbc55c227039bc9d42833106be05df1e92c6fe97f530e645c358fb073bb449243b03aa16c61917df374c21c45da2 WHIRLPOOL 9b993e5eb3da931014cd229b261fdb901d852ee0b6358e440e127759a5b116f8637c64129d7f102c280a9be10053a2e1611c77b5e03d5031fbfdde6c42d31e2b |
23 |
|
24 |
diff --git a/net-libs/ignition-transport/ignition-transport-2.1.0.ebuild b/net-libs/ignition-transport/ignition-transport-2.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..4fecd4c |
27 |
--- /dev/null |
28 |
+++ b/net-libs/ignition-transport/ignition-transport-2.1.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit cmake-utils vcs-snapshot flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="Combines ZeroMQ with Protobufs to create a fast and efficient message passing system" |
39 |
+HOMEPAGE="http://ignitionrobotics.org/libraries/transport" |
40 |
+SRC_URI="http://gazebosim.org/distributions/ign-transport/releases/${PN}2-${PV}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="2/0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ net-libs/ignition-msgs:= |
49 |
+ dev-libs/protobuf:= |
50 |
+ >=net-libs/zeromq-3.2.0:= |
51 |
+ sys-apps/util-linux |
52 |
+ net-libs/cppzmq |
53 |
+" |
54 |
+RDEPEND="${DEPEND}" |
55 |
+DEPEND="${DEPEND} |
56 |
+ virtual/pkgconfig" |
57 |
+CMAKE_BUILD_TYPE=RelWithDebInfo |
58 |
+PATCHES=( "${FILESDIR}/protobuf3.patch" ) |
59 |
+S="${WORKDIR}/${PN}2-${PV}" |
60 |
+ |
61 |
+src_configure() { |
62 |
+ # upstream appends this conditionally... |
63 |
+ append-flags "-fPIC" |
64 |
+ echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake" |
65 |
+ sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die |
66 |
+ cmake-utils_src_configure |
67 |
+} |