blob: 8d2097e0b2c176c370c67c25da098040bb3b937e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Alex Dewar <a.dewar@sussex.ac.uk>
# Contributor: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Troy Patrick <patrictroy at gmail dot com>
# Contributor: racko <tim dot rakowski at gmail dot com>
# Contributor: marauder <abhinav dot kssk at gmail dot com>
# Contributor: Benjamin Chretien <chretien at lirmm dot fr>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Vladimir Ermakov <vooon341@gmail.com>
# Contributor: Bernd Müller <github@muellerbernd.de>
pkgname=gazebo
pkgver=11.14.0
pkgrel=2
pkgdesc="A multi-robot simulator for outdoor environments"
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' 'cppzmq')
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')
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gazebosim/gazebo-classic/archive/${pkgname}11_$pkgver.tar.gz")
sha256sums=('6b63d857399ba08190c331b545d24e8e3e308b840ff051bbf39e87879e37af50')
_pkgname=gazebo-classic
build() {
cd "${srcdir}/${_pkgname}-${pkgname}11_$pkgver"
mkdir -p build && cd build
export PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig
export LDFLAGS="-Wl,--copy-dt-needed-entries"
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DPROTOBUF_PROTOC_EXECUTABLE="/usr/bin/protoc"
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgname}11_$pkgver/build"
DESTDIR="${pkgdir}" make install
}
|