summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaud Hulin2015-08-31 10:12:32 +0000
committerThibaud Hulin2015-08-31 10:12:32 +0000
commitc1cfa360a7e39c7b9bb89b9d6b0bf84bf632ff41 (patch)
treef5570eef31d9c7e5f4b289a69dd10d828fce8e02
downloadaur-c1cfa360a7e39c7b9bb89b9d6b0bf84bf632ff41.tar.gz
First commit
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD63
2 files changed, 100 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d309cf9eae7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+pkgbase = visp
+ pkgdesc = A modular library for visual tracking and visual servoing
+ pkgver = 2.10.0
+ pkgrel = 1
+ url = http://www.irisa.fr/lagadic/visp/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ license = custom:ViSP Professional Edition License
+ makedepends = cmake
+ depends = libdmtx
+ depends = opencv>=2.2.0
+ depends = coin
+ depends = gsl
+ depends = lapack
+ depends = zbar
+ optdepends = xorg-server: used for the image display
+ optdepends = gtk2: used for the image display
+ optdepends = libxml2: parse XML files for camera and model-based tracker parameters
+ optdepends = ogre: for 3D Rendering
+ optdepends = ois: for System Input (keyboard, pad, ...)
+ optdepends = soqt: interfacing coin with qt
+ optdepends = yarp: used for robot commands
+ optdepends = v4l-utils: tools to convert video
+ optdepends = libfreenect: driver for Kinect
+ optdepends = libdc1394: high level programming interface for IEEE1394 digital camera
+ optdepends = libusb: access to usb devices
+ optdepends = ffmpeg: to manipulate video files
+ optdepends = libjpeg-turbo: to convert jpeg files
+ optdepends = libpng: to convert png files
+ optdepends = doxygen: for documentation
+ optdepends = biclops: used for motion control device of Traclabs
+ source = http://gforge.inria.fr/frs/download.php/latestfile/475/ViSP-2.10.0.tar.gz
+ md5sums = 85b5015a192d20fa0db3a70d620bb0d3
+
+pkgname = visp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fdb62eacd35
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,63 @@
+# Maintainer: Thibaud Hulin <thibaud.hulin.cl.atgmail.com>
+pkgname=visp
+_pkgname=ViSP
+pkgver=2.10.0
+pkgrel=1
+pkgdesc="A modular library for visual tracking and visual servoing"
+arch=('i686' 'x86_64')
+url="http://www.irisa.fr/lagadic/visp/"
+license=('GPL2' 'custom:ViSP Professional Edition License')
+depends=('libdmtx' 'opencv>=2.2.0' 'coin' 'gsl' 'lapack' 'zbar')
+makedepends=('cmake')
+optdepends=(
+ 'xorg-server: used for the image display'
+ 'gtk2: used for the image display'
+ 'libxml2: parse XML files for camera and model-based tracker parameters'
+ 'ogre: for 3D Rendering'
+ 'ois: for System Input (keyboard, pad, ...)'
+ 'soqt: interfacing coin with qt'
+ 'yarp: used for robot commands'
+ 'v4l-utils: tools to convert video'
+ 'libfreenect: driver for Kinect'
+ 'libdc1394: high level programming interface for IEEE1394 digital camera'
+ 'libusb: access to usb devices'
+ 'ffmpeg: to manipulate video files'
+ 'libjpeg-turbo: to convert jpeg files'
+ 'libpng: to convert png files'
+ 'doxygen: for documentation'
+ 'biclops: used for motion control device of Traclabs')
+# 'zbar: used to read bar codes and QR codes'
+# 'coin: used for simulation or augmented reality capabilities'
+# 'gsl: used for the SVD and LU decompositions'
+# 'lapack: provides routines for solving systems of simultaneous linear equations'
+# 'opencv: provides image converters, a renderer, a feature point tracker and point matching classes'
+# 'libdmtx: used to read Data Matrix bar codes'
+source=("http://gforge.inria.fr/frs/download.php/latestfile/475/${_pkgname}-$pkgver.tar.gz")
+md5sums=('85b5015a192d20fa0db3a70d620bb0d3')
+
+build() {
+ cd "${srcdir}/${_pkgname}-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR="lib"\
+ -DUSE_ZBAR=ON \
+ -DBUILD_DEMOS=OFF .
+ make -j4
+ cat << 'EOF' > ./COPYING
+
+ViSP software is available under two different licenses:
+the ViSP GNU GPL version 2 for developing open source software under the terms of the GPL license,
+and the ViSP Commercial Developer License for commercial use.
+
+The ViSP Professional Edition License is the appropriate version to use for the development of proprietary software.
+This version is for developers who do not want to share the source code with others,
+or otherwise do not comply with the terms of the GNU GPL version 2.0.
+In other terms, with the Professional Edition License you avoid the licensing restrictions of the GPL.
+If you are interested by this license, contact visp@inria.fr.
+EOF
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}