1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 # Contributor: Giovanni Scafora <linuxmania@gmail.com>
8 pkgdesc="A universal control panel for Video for Linux Two (V4L2) devices"
10 url="http://${pkgname}.sourceforge.net"
12 depends=('qt' 'v4l-utils')
13 optdepends=('mplayer: Video Preview')
15 install="$pkgname.install"
16 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
18 md5sums=('e5bc6e71e2cd3ab123c277b2f7154b4f'
19 'db20c209857533aeeb00e30c4872efd3')
22 cd "$srcdir/$pkgname-$pkgver"
24 # remove old v4l header
25 sed -i 's|\(videodev\)\.|\12\.|' src/v4l2ctrl.c
27 cmake . -DCMAKE_INSTALL_PREFIX=/usr
32 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir/" install
36 # Install Desktop file
37 install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"