updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / libunicap / PKGBUILD
blob3b803770e835fa0a6c5aa6e811667088af27d57c
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>
5 pkgname=libunicap
6 pkgver=0.9.12
7 pkgrel=1
8 pkgdesc="Provides a uniform API for all kinds of video capture devices"
9 arch=('i686' 'x86_64')
10 conflicts=('unicap')
11 provides=('unicap')
12 url="http://unicap-imaging.org"
13 options=('!libtool')
14 license=('GPL')
15 depends=('libraw1394')
16 makedepends=('pkgconfig perlxml intltool')
17 source=(http://unicap-imaging.org/downloads/$pkgname-$pkgver.tar.gz)
18 md5sums=('353657b4da519251d4cc6dee5a232391')
20 build() {
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 
25   make || return 1
26   make DESTDIR=$pkgdir install || return 1