diff options
author | acxz | 2020-05-24 11:41:52 -0400 |
---|---|---|
committer | acxz | 2020-05-24 11:41:52 -0400 |
commit | aedf56469cfd90420e0f9b1519302e5e491b5d0c (patch) | |
tree | 35e88efe653f6a089587b1e1acba741c6af191fc | |
parent | 496f776b35ce04db1d75a4f9e447e0a69bfbbe09 (diff) | |
download | aur-aedf56469cfd90420e0f9b1519302e5e491b5d0c.tar.gz |
upd to noetic, cmake vars, python
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 13 deletions
@@ -1,4 +1,4 @@ -pkgbase = ros-melodic-gazebo-dev +pkgbase = ros-noetic-gazebo-dev pkgdesc = ROS - Provides a cmake config for the default version of Gazebo for the ROS distribution. pkgver = 2.8.6 pkgrel = 3 @@ -11,10 +11,10 @@ pkgbase = ros-melodic-gazebo-dev license = Apache 2.0 makedepends = cmake makedepends = ros-build-tools - makedepends = ros-melodic-catkin + makedepends = ros-noetic-catkin depends = gazebo - source = ros-melodic-gazebo-dev-2.8.6.tar.gz::https://github.com/ros-simulation/gazebo_ros_pkgs/archive/2.8.6.tar.gz + source = ros-noetic-gazebo-dev-2.8.6.tar.gz::https://github.com/ros-simulation/gazebo_ros_pkgs/archive/2.8.6.tar.gz sha256sums = df928fbeebd277b8eedf7eb367ab88631de71ef6c552424731eaf855186bc4b4 -pkgname = ros-melodic-gazebo-dev +pkgname = ros-noetic-gazebo-dev @@ -1,13 +1,13 @@ pkgdesc="ROS - Provides a cmake config for the default version of Gazebo for the ROS distribution." url='https://wiki.ros.org/gazebo_ros_pkgs' -pkgname='ros-melodic-gazebo-dev' +pkgname='ros-noetic-gazebo-dev' pkgver='2.8.6' arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h') pkgrel=3 license=('Apache 2.0') -ros_makedepends=(ros-melodic-catkin) +ros_makedepends=(ros-noetic-catkin) makedepends=('cmake' 'ros-build-tools' ${ros_makedepends[@]}) @@ -22,21 +22,17 @@ sha256sums=('df928fbeebd277b8eedf7eb367ab88631de71ef6c552424731eaf855186bc4b4') build() { # Use ROS environment variables source /usr/share/ros-build-tools/clear-ros-env.sh - [ -f /opt/ros/melodic/setup.bash ] && source /opt/ros/melodic/setup.bash + [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash # Create build directory [ -d ${srcdir}/build ] || mkdir ${srcdir}/build cd ${srcdir}/build - # Fix Python2/Python3 conflicts - /usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir} - # Build project cmake ${srcdir}/${_dir} \ - -DCMAKE_BUILD_TYPE=Release \ -DCATKIN_BUILD_BINARY_PACKAGE=ON \ - -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \ - -DPYTHON_EXECUTABLE=/usr/bin/python3 \ + -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \ + -DPYTHON_EXECUTABLE=/usr/bin/python \ -DSETUPTOOLS_DEB_LAYOUT=OFF make } |