Skip to content

Commit

Permalink
Add 'gazebo-git/' from commit '31af77fbcf6df54c2a643bbb18f32d4ac1d3092f'
Browse files Browse the repository at this point in the history
git-subtree-dir: gazebo-git
git-subtree-mainline: 3ead3d9
git-subtree-split: 31af77f
  • Loading branch information
acxz committed Mar 17, 2023
2 parents 3ead3d9 + 31af77f commit 1675890
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
49 changes: 49 additions & 0 deletions gazebo-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
pkgbase = gazebo-git
pkgdesc = A multi-robot simulator for outdoor environments. Git version.
pkgver = r32546.d3584008b4
pkgrel = 1
url = https://classic.gazebosim.org/
install = gazebo.install
arch = i686
arch = x86_64
license = Apache
makedepends = cmake
makedepends = doxygen
makedepends = ruby-ronn
makedepends = git
depends = boost
depends = curl
depends = freeglut
depends = freeimage
depends = tbb
depends = libccd
depends = libltdl
depends = graphviz
depends = libtar
depends = libxml2
depends = ogre-1.9
depends = protobuf
depends = sdformat=9
depends = ignition-math=6
depends = ignition-transport=8
depends = ignition-cmake=2
depends = ignition-common=3
depends = ignition-fuel_tools=4
depends = ignition-msgs=5
depends = tinyxml2
depends = qwt
optdepends = bullet: Bullet support
optdepends = cegui: Design custom graphical interfaces
optdepends = ffmpeg4.4: Playback movies on textured surfaces
optdepends = gdal: Digital elevation terrains support
optdepends = libdart: DART support
optdepends = libspnav: space navigator joystick support
optdepends = libusb: USB peripherals support
optdepends = simbody: Simbody support
optdepends = urdfdom: Load URDF files
provides = gazebo
conflicts = gazebo
source = gazebo::git+https://github.com/gazebosim/gazebo-classic
sha256sums = SKIP

pkgname = gazebo-git
52 changes: 52 additions & 0 deletions gazebo-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Aris Synodinos <arissynod-gmail-com>

pkgname=gazebo-git
pkgver=r32546.d3584008b4
pkgrel=1
pkgdesc="A multi-robot simulator for outdoor environments. Git version."
arch=('i686' 'x86_64')
url="https://classic.gazebosim.org/"
license=('Apache')
depends=('boost' 'curl' 'freeglut' 'freeimage' 'tbb' 'libccd' 'libltdl' 'graphviz'
'libtar' 'libxml2' 'ogre-1.9' 'protobuf' 'sdformat=9' 'ignition-math=6' 'ignition-transport=8'
'ignition-cmake=2' 'ignition-common=3' 'ignition-fuel_tools=4' 'ignition-msgs=5' 'tinyxml2' 'qwt')
optdepends=('bullet: Bullet support'
'cegui: Design custom graphical interfaces'
'ffmpeg4.4: Playback movies on textured surfaces'
'gdal: Digital elevation terrains support'
'libdart: DART support'
'libspnav: space navigator joystick support'
'libusb: USB peripherals support'
'simbody: Simbody support'
'urdfdom: Load URDF files')
makedepends=('cmake' 'doxygen' 'ruby-ronn' 'git')
install="gazebo.install"
provides=('gazebo')
conflicts=('gazebo')
source=("gazebo"::"git+https://github.com/gazebosim/gazebo-classic")
sha256sums=('SKIP')

_pkgname=gazebo

pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
cd "${srcdir}/${_pkgname}"

mkdir -p build && cd build

export PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib"
make
}

package() {
cd "${srcdir}/${_pkgname}/build"
DESTDIR="${pkgdir}" make install
}
6 changes: 6 additions & 0 deletions gazebo-git/gazebo.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
post_install() {
echo "==> Now you need to export some Gazebo variables:"
echo "==> If you're using bash:"
echo "==> echo 'source /usr/share/gazebo/setup.sh' >> ~/.bashrc"
echo "==> source ~/.bashrc"
}

0 comments on commit 1675890

Please sign in to comment.