summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-01-28 13:51:54 +0100
committerAlexis Ballier <aballier@gentoo.org>2018-01-28 13:54:34 +0100
commit4991b04dd4102116b405a9df7e8007fccd271102 (patch)
tree531398f9be092d75ede40d22c55530a26e3115c1 /dev-ros/gazebo_plugins
parentsci-electronics/gazebo: bump subslot too (diff)
downloadgentoo-4991b04dd4102116b405a9df7e8007fccd271102.tar.gz
gentoo-4991b04dd4102116b405a9df7e8007fccd271102.tar.bz2
gentoo-4991b04dd4102116b405a9df7e8007fccd271102.zip
dev-ros/gazebo_plugins: backport upstream fixes to build with gazebo 9
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'dev-ros/gazebo_plugins')
-rw-r--r--dev-ros/gazebo_plugins/Manifest1
-rw-r--r--dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild11
2 files changed, 11 insertions, 1 deletions
diff --git a/dev-ros/gazebo_plugins/Manifest b/dev-ros/gazebo_plugins/Manifest
index a0d2a406e418..607f672d3bf5 100644
--- a/dev-ros/gazebo_plugins/Manifest
+++ b/dev-ros/gazebo_plugins/Manifest
@@ -1,2 +1,3 @@
+DIST gazebo-ros-2.7.3-patches-1.tar.bz2 19057 BLAKE2B ee8040e7f25d734d31c32963d47601b908b153a55294e736e49d1a10ea14a9ed74133e547eb1abf5d50ee70814f6b3476433e835cc604798057cb9d5a698a3aa SHA512 12ec281277f83c7a267fc111ec029b732435f50f320c74255eeb8e8ea7b38aa8771d08c9815d6525b22b7f2fe706aae087a33591082cddbcf7a46742a35ae0fb
DIST gazebo_ros_pkgs-2.6.2.tar.gz 1830633 BLAKE2B 8365084619d57d8427753e33d4a3128162c44b10552166c7070eaabde3f806cee9981c60b30b18b6cbe80b83e2871b0100b51329a1a6bd9747320245f21ec1a4 SHA512 f932eebbc88f4922c0275625d50ad5723446744cbf4a59138437d9bdd75a9b5232fdf8df2012460313eb2224d4287daebc3a28181ab3f1b81e67d70a8b8ed5d3
DIST gazebo_ros_pkgs-2.7.3.tar.gz 1836260 BLAKE2B 7867bec1461769923ba36ea2e56b21d85cf1db254cd50a028af5953fe1b5373015b68785a90d242e245d12a2da2c7a8ff26db66c0c466e6a6e029fbb74340a06 SHA512 66590a248f0813ab0f2a80df234f9dd8d448c500726b62d3fc74397d3a618d6fae994c3e463bb0c4a8892cef35ba1729229c471f3d21d4b3a2091d5ad74cc33b
diff --git a/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild b/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild
index ef6837eae89c..76ce67a6f0b0 100644
--- a/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild
+++ b/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
CATKIN_HAS_MESSAGES=yes
ROS_SUBDIR=${PN}
-inherit ros-catkin
+inherit ros-catkin eutils
DESCRIPTION="Robot-independent Gazebo plugins for sensors, motors and dynamic reconfigurable components"
LICENSE="BSD Apache-2.0"
@@ -51,3 +51,12 @@ RDEPEND="
dev-ros/roslib[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
+SRC_URI="${SRC_URI}
+ mirror://gentoo/gazebo-ros-2.7.3-patches-1.tar.bz2"
+
+src_prepare() {
+ pushd "${WORKDIR}/gazebo_ros_pkgs-${PV}" || die
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+ popd || die
+ ros-catkin_src_prepare
+}