# Contributor: Radu Andries <admiral0@tuxfamily.org>
pkgname=zbar-qt
pkgver=0.10
pkgrel=1
pkgdesc="An open source software suite for reading bar codes from various sources"
arch=('i686' 'x86_64')
url="http://zbar.sourceforge.net/"
license=('LGPL')
depends=(qt imagemagick libxv)
provides=()
source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2")
build() {
cd "$srcdir/zbar-$pkgver"
sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' zbar/video/v4l1.c include/config.h.in configure.ac configure
export CFLAGS=""
./configure --prefix=/usr --without-gtk --without-python
make
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
md5sums=('0fd61eb590ac1bab62a77913c8b086a5')