updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / player / PKGBUILD
blobeff878dbeb18df0805c0139660f397e4903def36
1 # Maintainer: Renato Garcia <fgar.renato@gmail.com>
2 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
4 pkgname=player
5 pkgver=3.0.2
6 pkgrel=3
7 pkgdesc='Robotic systems environment'
8 arch=('i686' 'x86_64')
9 url='http://playerstage.sourceforge.net'
10 license=('GPL')
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')
16 build() {
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
23   make
26 package() {
27   cd "${srcdir}/${pkgname}-${pkgver}"
29   make DESTDIR="${pkgdir}" install