summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2020-07-23 11:17:57 -0400
committeracxz2020-07-23 11:17:57 -0400
commit62030e9db518d303ce51ded923bc671ce518cf62 (patch)
treece49a7cd6e87b589686d292d87ae421581c2ad7e
downloadaur-62030e9db518d303ce51ded923bc671ce518cf62.tar.gz
create ros-noetic-plotjuggler package
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD69
2 files changed, 105 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ed719ebaa8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+pkgbase = ros-noetic-plotjuggler
+ pkgdesc = ROS - PlotJuggler: juggle with data
+ pkgver = 2.8.3
+ pkgrel = 1
+ url = https://www.plotjuggler.io
+ arch = i686
+ arch = x86_64
+ arch = aarch64
+ arch = armv7h
+ arch = armv6h
+ license = LGPLv3
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-noetic-catkin
+ depends = ros-noetic-rosbag-storage
+ depends = ros-noetic-roscpp
+ depends = ros-noetic-roscpp-serialization
+ depends = ros-noetic-diagnostic-msgs
+ depends = ros-noetic-tf
+ depends = ros-noetic-sensor-msgs
+ depends = ros-noetic-geometry-msgs
+ depends = ros-noetic-nav-msgs
+ depends = ros-noetic-tf2-ros
+ depends = ros-noetic-tf2-msgs
+ depends = ros-noetic-plotjuggler-msgs
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = qt5-multimedia
+ depends = binutils
+ depends = qt5-svg
+ depends = boost
+ source = ros-noetic-plotjuggler-2.8.3.tar.gz::https://github.com/facontidavide/PlotJuggler/archive/2.8.3.tar.gz
+ sha256sums = 2b8eb6b8fc8d1e259d2cf907eb0dc495cf1e3117f7683f4f5179beae76be628b
+
+pkgname = ros-noetic-plotjuggler
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..54b43f8f492
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,69 @@
+pkgdesc="ROS - PlotJuggler: juggle with data"
+url='https://www.plotjuggler.io'
+
+pkgname='ros-noetic-plotjuggler'
+pkgver='2.8.3'
+arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
+pkgrel=1
+license=('LGPLv3')
+
+ros_makedepends=(
+ ros-noetic-catkin
+)
+
+makedepends=(
+ cmake
+ ros-build-tools
+ ${ros_makedepends[@]}
+)
+
+ros_depends=(
+ ros-noetic-rosbag-storage
+ ros-noetic-roscpp
+ ros-noetic-roscpp-serialization
+ ros-noetic-diagnostic-msgs
+ ros-noetic-tf
+ ros-noetic-sensor-msgs
+ ros-noetic-geometry-msgs
+ ros-noetic-nav-msgs
+ ros-noetic-tf2-ros
+ ros-noetic-tf2-msgs
+ ros-noetic-plotjuggler-msgs
+)
+
+depends=(
+ ${ros_depends[@]}
+ qt5-base
+ qt5-declarative
+ qt5-multimedia
+ binutils
+ qt5-svg
+ boost
+)
+
+_dir="PlotJuggler-${pkgver}"
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/facontidavide/PlotJuggler/archive/${pkgver}.tar.gz")
+sha256sums=('2b8eb6b8fc8d1e259d2cf907eb0dc495cf1e3117f7683f4f5179beae76be628b')
+
+build() {
+ # Use ROS environment variables.
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -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
+
+ # Build the project.
+ cmake ${srcdir}/${_dir} \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}