Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
updpkg to 1.0.0 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
acxz authored Feb 16, 2020
1 parent 665d607 commit d1ba07e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 31 deletions.
20 changes: 10 additions & 10 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
pkgbase = ros-melodic-mavros-msgs
pkgdesc = ROS - mavros_msgs defines messages for MAVROS.
pkgver = 0.32.2
pkgver = 1.0.0
pkgrel = 1
url = https://wiki.ros.org/mavros_msgs
arch = any
arch = i686
arch = x86_64
arch = aarch64
arch = armv7h
arch = armv6h
license = GPLv3, LGPLv3, BSD
makedepends = cmake
makedepends = ros-build-tools
makedepends = ros-melodic-std-msgs
makedepends = ros-melodic-geographic-msgs
makedepends = ros-melodic-catkin
makedepends = ros-melodic-geometry-msgs
makedepends = ros-melodic-message-generation
makedepends = ros-melodic-sensor-msgs
depends = ros-melodic-geographic-msgs
depends = ros-melodic-message-runtime
depends = ros-melodic-std-msgs
depends = ros-melodic-geometry-msgs
depends = ros-melodic-sensor-msgs
depends = ros-melodic-std-msgs
source = ros-melodic-mavros-msgs-0.32.2.tar.gz::https://github.com/mavlink/mavros/archive/0.32.2.tar.gz
sha256sums = d5e04661f88896a9a77f22a083023ce5e8e13dd71c1f8f1b7d5e187b3bf6c4f8
depends = ros-melodic-geographic-msgs
source = ros-melodic-mavros-msgs-1.0.0.tar.gz::https://github.com/mavlink/mavros/archive/1.0.0.tar.gz
sha256sums = 08c911a3e92990e260ab25715b6605303b1ac52a8de0e3b0f504bcfab6390b0d

pkgname = ros-melodic-mavros-msgs

39 changes: 18 additions & 21 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ pkgdesc="ROS - mavros_msgs defines messages for MAVROS."
url='https://wiki.ros.org/mavros_msgs'

pkgname='ros-melodic-mavros-msgs'
pkgver='0.32.2'
arch=('any')
pkgver='1.0.0'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
pkgrel=1
license=('GPLv3, LGPLv3, BSD')

ros_makedepends=(ros-melodic-std-msgs
ros-melodic-geographic-msgs
ros_makedepends=(
ros-melodic-catkin
ros-melodic-geometry-msgs
ros-melodic-message-generation
ros-melodic-sensor-msgs)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
)

ros_depends=(ros-melodic-geographic-msgs
makedepends=(
cmake
ros-build-tools
${ros_makedepends[@]}
)

ros_depends=(
ros-melodic-message-runtime
ros-melodic-std-msgs
ros-melodic-geometry-msgs
ros-melodic-sensor-msgs
ros-melodic-std-msgs)
depends=(${ros_depends[@]})
ros-melodic-geographic-msgs
)

# Git version (e.g. for debugging)
# _tag=release/melodic/mavros_msgs/${pkgver}-${_pkgver_patch}
# _dir=${pkgname}
# source=("${_dir}"::"git+https://github.com/mavlink/mavros-release.git"#tag=${_tag})
# sha256sums=('SKIP')
depends=(
${ros_depends[@]}
)

# Tarball version (faster download)
_dir="mavros-${pkgver}/mavros_msgs"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/mavlink/mavros/archive/${pkgver}.tar.gz")
sha256sums=('d5e04661f88896a9a77f22a083023ce5e8e13dd71c1f8f1b7d5e187b3bf6c4f8')
sha256sums=('08c911a3e92990e260ab25715b6605303b1ac52a8de0e3b0f504bcfab6390b0d')

build() {
# Use ROS environment variables
Expand All @@ -54,9 +54,6 @@ build() {
-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=.cpython-37m \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}
Expand Down

0 comments on commit d1ba07e

Please sign in to comment.