summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 17 insertions, 21 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c4dabd50f5e..371bafa3d09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
pkgdesc="ROS - rqt_image_view provides a GUI plugin for displaying images using image_transport."
url='https://wiki.ros.org/rqt_image_view'
-pkgname='ros-melodic-rqt-image-view'
+pkgname='ros-noetic-rqt-image-view'
pkgver='0.4.13'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
pkgrel=4
license=('BSD')
ros_makedepends=(
- ros-melodic-rqt-gui-cpp
- ros-melodic-geometry-msgs
- ros-melodic-catkin
- ros-melodic-cv-bridge
- ros-melodic-rqt-gui
- ros-melodic-sensor-msgs
- ros-melodic-image-transport
+ ros-noetic-rqt-gui-cpp
+ ros-noetic-geometry-msgs
+ ros-noetic-catkin
+ ros-noetic-cv-bridge
+ ros-noetic-rqt-gui
+ ros-noetic-sensor-msgs
+ ros-noetic-image-transport
)
makedepends=(
@@ -25,12 +25,12 @@ makedepends=(
)
ros_depends=(
- ros-melodic-rqt-gui-cpp
- ros-melodic-geometry-msgs
- ros-melodic-cv-bridge
- ros-melodic-rqt-gui
- ros-melodic-sensor-msgs
- ros-melodic-image-transport
+ ros-noetic-rqt-gui-cpp
+ ros-noetic-geometry-msgs
+ ros-noetic-cv-bridge
+ ros-noetic-rqt-gui
+ ros-noetic-sensor-msgs
+ ros-noetic-image-transport
)
depends=(
@@ -51,21 +51,17 @@ prepare() {
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 the 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 the 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
}