diff options
author | acxz | 2020-05-24 11:48:27 -0400 |
---|---|---|
committer | acxz | 2020-05-24 11:48:27 -0400 |
commit | c95373495de78003fff86f967caa423a23c00f96 (patch) | |
tree | a141d14a61a9a8476e925cafa9a004f97e853b06 /PKGBUILD | |
parent | ef441b65898a46603c7080fa5cc335bc1eb94b59 (diff) | |
download | aur-ros-noetic-ivcon.tar.gz |
upd to noetic, cmake vars, python
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
@@ -2,13 +2,13 @@ pkgdesc="ROS - Mesh Conversion Utility Used to generate .iv files from .stl files." url='https://sourceforge.net/projects/ivcon/' -pkgname='ros-melodic-ivcon' +pkgname='ros-noetic-ivcon' pkgver='0.1.7' arch=('any') pkgrel=2 license=('GPL') -ros_makedepends=(ros-melodic-catkin) +ros_makedepends=(ros-noetic-catkin) makedepends=('cmake' 'ros-build-tools' ${ros_makedepends[@]}) @@ -16,7 +16,7 @@ ros_depends=() depends=(${ros_depends[@]}) # Git version (e.g. for debugging) -# _tag=release/melodic/ivcon/${pkgver}-${_pkgver_patch} +# _tag=release/noetic/ivcon/${pkgver}-${_pkgver_patch} # _dir=${pkgname} # source=("${_dir}"::"git+https://github.com/ros-gbp/ivcon-release.git"#tag=${_tag}) # sha256sums=('SKIP') @@ -29,24 +29,17 @@ sha256sums=('55b50a0ea6886f031b1b84f3d670e409261821bf10e7ccd315c1c057533ff643') 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 \ - -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \ - -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \ - -DPYTHON_BASENAME=-python3.7m \ + -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \ + -DPYTHON_EXECUTABLE=/usr/bin/python \ -DSETUPTOOLS_DEB_LAYOUT=OFF make } |