sci-libs/ignition-common: initial import
authorAlexis Ballier <aballier@gentoo.org>
Fri, 15 May 2020 08:21:51 +0000 (10:21 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 15 May 2020 16:33:43 +0000 (18:33 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
sci-libs/ignition-common/Manifest [new file with mode: 0644]
sci-libs/ignition-common/files/includes.patch [new file with mode: 0644]
sci-libs/ignition-common/ignition-common-3.5.0.ebuild [new file with mode: 0644]
sci-libs/ignition-common/metadata.xml [new file with mode: 0644]

diff --git a/sci-libs/ignition-common/Manifest b/sci-libs/ignition-common/Manifest
new file mode 100644 (file)
index 0000000..b17f5a4
--- /dev/null
@@ -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 (file)
index 0000000..5d7750b
--- /dev/null
@@ -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 (file)
index 0000000..c2bbe8a
--- /dev/null
@@ -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 (file)
index 0000000..c3e61fa
--- /dev/null
@@ -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>