1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
6 pkgdesc='Urbi is an open-source software platform to control robots or complex systems in general.'
8 url='http://www.gostai.com/products/urbi/'
10 depends=('boost' 'swig' 'ortp' 'python2')
11 makedepends=('gnuplot' 'java-environment')
12 checkdepends=('aspell-en' 'bc' 'socat' 'valgrind')
13 source=("http://www.gostai.com/downloads/urbi/2.x/urbi-sdk-${pkgver}.tar.bz2")
14 md5sums=('b62785be457c1f6655432989d9d4a773')
19 msg 'updating files for python2 switch'
22 -e 's_/usr/bin/python_/usr/bin/python2_' \
23 -e 's_/usr/bin/env python_/usr/bin/env python2_' \
26 # need to update timestep for all files, otherwise bootstrap will have to get run
27 find -type f -exec touch -t 01010101 {} \;
29 # fix boost fs version and gcc 4.6 is now more strict, so don't error on warnings
30 export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=2 -Wno-error"
31 export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2 -Wno-error"
38 # http://forum.gostai.com/viewtopic.php?f=26&t=4772&sid=9c3e00b18566dac0cdfe9fc74b22ea8c
40 -e 's_urbi/SoundUtilities.java__' \
41 -e 's_urbi/MedianFilter.java__' \
42 -e 's_urbi/SoundSampler.java__' \
43 -e 's_urbi/ImageUtilities.java__' \
44 -e 's_urbi/UMain.java__' \
45 -e 's_urbi/SendSoundSampler.java__' \
46 -i sdk-remote/src/swig/java/Makefile.in
51 # enable next package update
53 # cd urbi-sdk-${pkgver}
61 make DESTDIR=${pkgdir} install