1 # Contributor: Niel West (Nielke) <nielkie@gmail.com>
2 # Contributor: Bob_Sheep (Bob_Sheep) <bobsheep@gmail.com>
3 # Maintainer: jordi Cerdan (jcerdan) <jcerdan@tecob.com>
8 pkgdesc="Provides a uniform API for all kinds of video capture devices"
12 url="http://unicap-imaging.org"
15 depends=('libraw1394')
16 makedepends=('pkgconfig perlxml intltool')
17 source=(http://unicap-imaging.org/downloads/$pkgname-$pkgver.tar.gz)
18 md5sums=('353657b4da519251d4cc6dee5a232391')
21 cd $srcdir/$pkgname-$pkgver
22 sed 's/linux\/videodev\.h/libv4l1\-videodev\.h/' -i'' cpi/v4l/v4l.c cpi/v4l2cpi/uvcvideo.h
24 ./configure --prefix=/usr --enable-vid21394-visca || return 1
26 make DESTDIR=$pkgdir install || return 1