summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2020-05-24 12:20:56 -0400
committeracxz2020-05-24 12:20:56 -0400
commit6a8c8ea3e6076447e1340e71b90e8739e9dcf179 (patch)
treea5100724092440d77f163b0fb65dbc1baf728640
parentcb48394af94c1349e6b820ef0cabaf2135efe841 (diff)
downloadaur-6a8c8ea3e6076447e1340e71b90e8739e9dcf179.tar.gz
upd to noetic, cmake vars, python
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD30
2 files changed, 24 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a96696aced..d4667e4f6ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = ros-melodic-transmission-interface
+pkgbase = ros-noetic-transmission-interface
pkgdesc = ROS - Transmission Interface.
pkgver = 0.15.1
pkgrel = 3
@@ -11,18 +11,18 @@ pkgbase = ros-melodic-transmission-interface
license = BSD
makedepends = cmake
makedepends = ros-build-tools
- makedepends = ros-melodic-pluginlib
- makedepends = ros-melodic-catkin
- makedepends = ros-melodic-roscpp
- makedepends = ros-melodic-hardware-interface
- makedepends = ros-melodic-cmake-modules
- makedepends = ros-melodic-resource-retriever
+ makedepends = ros-noetic-pluginlib
+ makedepends = ros-noetic-catkin
+ makedepends = ros-noetic-roscpp
+ makedepends = ros-noetic-hardware-interface
+ makedepends = ros-noetic-cmake-modules
+ makedepends = ros-noetic-resource-retriever
makedepends = tinyxml
- depends = ros-melodic-pluginlib
- depends = ros-melodic-roscpp
+ depends = ros-noetic-pluginlib
+ depends = ros-noetic-roscpp
depends = tinyxml
- source = ros-melodic-transmission-interface-0.15.1.tar.gz::https://github.com/ros-controls/ros_control/archive/0.15.1.tar.gz
+ source = ros-noetic-transmission-interface-0.15.1.tar.gz::https://github.com/ros-controls/ros_control/archive/0.15.1.tar.gz
sha256sums = adf1a9d1fd10f4d89e91c8279d1278d9cd301767b658c143810479b2d10eedca
-pkgname = ros-melodic-transmission-interface
+pkgname = ros-noetic-transmission-interface
diff --git a/PKGBUILD b/PKGBUILD
index 8aa0a8286c6..846917c111c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,30 +3,30 @@
pkgdesc="ROS - Transmission Interface."
url='https://github.com/ros-controls/ros_control/wiki'
-pkgname='ros-melodic-transmission-interface'
+pkgname='ros-noetic-transmission-interface'
pkgver='0.15.1'
_pkgver_patch=0
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
pkgrel=3
license=('BSD')
-ros_makedepends=(ros-melodic-pluginlib
- ros-melodic-catkin
- ros-melodic-roscpp
- ros-melodic-hardware-interface
- ros-melodic-cmake-modules
- ros-melodic-resource-retriever)
+ros_makedepends=(ros-noetic-pluginlib
+ ros-noetic-catkin
+ ros-noetic-roscpp
+ ros-noetic-hardware-interface
+ ros-noetic-cmake-modules
+ ros-noetic-resource-retriever)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]}
tinyxml)
-ros_depends=(ros-melodic-pluginlib
- ros-melodic-roscpp)
+ros_depends=(ros-noetic-pluginlib
+ ros-noetic-roscpp)
depends=(${ros_depends[@]}
tinyxml)
# Git version (e.g. for debugging)
-# _tag=release/melodic/transmission_interface/${pkgver}-${_pkgver_patch}
+# _tag=release/noetic/transmission_interface/${pkgver}-${_pkgver_patch}
# _dir=${pkgname}
# source=("${_dir}"::"git+https://github.com/ros-gbp/ros_control-release.git"#tag=${_tag})
# sha256sums=('SKIP')
@@ -39,21 +39,17 @@ sha256sums=('adf1a9d1fd10f4d89e91c8279d1278d9cd301767b658c143810479b2d10eedca')
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
}