1 # Maintainer: Renato Garcia <fgar.renato@gmail.com>
2 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
7 pkgdesc='Robotic systems environment'
9 url='http://playerstage.sourceforge.net'
11 depends=('libgnomecanvas' 'libtool' 'boost-libs' 'gsl' 'opencv' 'python2')
12 makedepends=('cmake' 'swig' 'boost')
13 source=("http://downloads.sourceforge.net/project/playerstage/Player/${pkgver}/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('b92b5ea028e6bfc49351849f420167db')
17 cd "${srcdir}/${pkgname}-${pkgver}"
19 sed -i s/lib64/lib/ cmake/internal/SetupDirectories.cmake
20 sed -i '1i #include <cstddef>' server/drivers/blobfinder/shapetracker/shapetracker.cc
21 sed -i '1i #include <cstddef>' server/drivers/blobfinder/upcbarcode/upcbarcode.cc
22 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=TRUE
27 cd "${srcdir}/${pkgname}-${pkgver}"
29 make DESTDIR="${pkgdir}" install