1 # Contributor: Muhammad Qadri <Muhammad dot A dot Qadri at gmail dot com>
5 pkgdesc="Application that uses an ordinary webcam to estimate the direction of your gaze."
7 url="http://www.inference.phy.cam.ac.uk/opengazer/"
9 depends=('vxl' 'opencv>=0.97' 'gtkmm>=2.8.0' 'cairomm>=1.6.0' 'boost>=1.32.0')
11 install=$pkgname.install
12 source=("http://www.inference.phy.cam.ac.uk/opengazer/$pkgname-$pkgver.tar.gz"
14 md5sums=('2c5d856850b20d030989893351374778'
15 '74c89e2b61d500b7c718fab518aec636')
18 cd "$srcdir/$pkgname-$pkgver"
21 patch -p1 -i ../opengazer.patch
29 install -Dm755 $srcdir/$pkgname-$pkgver/opengazer $pkgdir/usr/bin/opengazer
30 install -Dm644 $srcdir/$pkgname-$pkgver/haarcascade_frontalface_alt.xml $pkgdir/usr/share/$pkgname/haarcascade_frontalface_alt.xml
31 install -Dm644 $srcdir/$pkgname-$pkgver/calpoints.txt $pkgdir/usr/share/$pkgname/calpoints.txt
35 # vim:set ts=2 sw=2 et: