summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-05-15 10:21:51 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-05-15 18:33:43 +0200
commit9936150d6cbadce54ebc3117f7a1cb05c8e7d0c0 (patch)
tree78668a5285c2f4ddc85bb4bc692310ce2682ddf9 /sci-libs/ignition-common
parentnet-libs/ignition-transport: bump to 8.0.0 (diff)
downloadgentoo-9936150d6cbadce54ebc3117f7a1cb05c8e7d0c0.tar.gz
gentoo-9936150d6cbadce54ebc3117f7a1cb05c8e7d0c0.tar.bz2
gentoo-9936150d6cbadce54ebc3117f7a1cb05c8e7d0c0.zip
sci-libs/ignition-common: initial import
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'sci-libs/ignition-common')
-rw-r--r--sci-libs/ignition-common/Manifest1
-rw-r--r--sci-libs/ignition-common/files/includes.patch12
-rw-r--r--sci-libs/ignition-common/ignition-common-3.5.0.ebuild40
-rw-r--r--sci-libs/ignition-common/metadata.xml11
4 files changed, 64 insertions, 0 deletions
diff --git a/sci-libs/ignition-common/Manifest b/sci-libs/ignition-common/Manifest
new file mode 100644
index 000000000000..b17f5a45c396
--- /dev/null
+++ b/sci-libs/ignition-common/Manifest
@@ -0,0 +1 @@
+DIST ignition-common3_3.5.0.tar.gz 6984379 BLAKE2B decc26506544a58075583d302dbae30148bc22d750864bae3816722516a21d191dcdc5dc9376a026a103575d9489f038d3fc9e296c062c32ac076e9fea28d2ab SHA512 109161e55e51a6a37fb137f64e0cf3041c72bfc2030e3b8c09ecf9f81c57b3687a8a4d9e0142520fd9d0dfbf02cba2f123e01e9407ec046b0f134dbfdaf535f0
diff --git a/sci-libs/ignition-common/files/includes.patch b/sci-libs/ignition-common/files/includes.patch
new file mode 100644
index 000000000000..5d7750bcec9a
--- /dev/null
+++ b/sci-libs/ignition-common/files/includes.patch
@@ -0,0 +1,12 @@
+Index: ignition-math6_6.4.0/src/RollingMean.cc
+===================================================================
+--- ignition-math6_6.4.0.orig/src/RollingMean.cc
++++ ignition-math6_6.4.0/src/RollingMean.cc
+@@ -17,6 +17,7 @@
+
+ #include <numeric>
+ #include <deque>
++#include <limits>
+ #include "ignition/math/RollingMean.hh"
+
+ using namespace ignition::math;
diff --git a/sci-libs/ignition-common/ignition-common-3.5.0.ebuild b/sci-libs/ignition-common/ignition-common-3.5.0.ebuild
new file mode 100644
index 000000000000..c2bbe8a822a9
--- /dev/null
+++ b/sci-libs/ignition-common/ignition-common-3.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+inherit cmake-utils
+
+IGN_MAJOR=3
+
+DESCRIPTION="Set of libraries designed to rapidly develop robot applications"
+HOMEPAGE="https://ignitionrobotics.org/libs/common https://github.com/ignitionrobotics/ign-common"
+SRC_URI="https://github.com/ignitionrobotics/ign-common/archive/${PN}${IGN_MAJOR}_${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="${IGN_MAJOR}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-libs/tinyxml2:=
+ sci-libs/ignition-math:6=
+ sys-apps/util-linux
+ media-libs/freeimage:=
+ sci-libs/gts:=
+ media-video/ffmpeg:0=
+"
+DEPEND="${RDEPEND}
+ dev-util/ignition-cmake:2"
+BDEPEND="
+ dev-util/ignition-cmake:2"
+
+S="${WORKDIR}/ign-common-${PN}${IGN_MAJOR}_${PV}"
+
+src_configure() {
+ local mycmakeargs=(
+ "-DBUILD_TESTING=OFF"
+ )
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/ignition-common/metadata.xml b/sci-libs/ignition-common/metadata.xml
new file mode 100644
index 000000000000..c3e61fabcf50
--- /dev/null
+++ b/sci-libs/ignition-common/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ignitionrobotics/ign-common</remote-id>
+ </upstream>
+</pkgmetadata>