Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 24th, 2012  |  syntax: None  |  size: 0.73 KB  |  views: 95  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Radu Andries <admiral0@tuxfamily.org>
  2. pkgname=zbar-qt
  3. pkgver=0.10
  4. pkgrel=1
  5. pkgdesc="An open source software suite for reading bar codes from various sources"
  6. arch=('i686' 'x86_64')
  7. url="http://zbar.sourceforge.net/"
  8. license=('LGPL')
  9. depends=(qt imagemagick libxv)
  10. provides=()
  11. source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2")
  12.  
  13. build() {
  14.   cd "$srcdir/zbar-$pkgver"
  15.   sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' zbar/video/v4l1.c include/config.h.in configure.ac configure
  16.   export CFLAGS=""
  17.   ./configure --prefix=/usr --without-gtk --without-python
  18.   make
  19.   make DESTDIR="$pkgdir/" install
  20. }
  21.  
  22. # vim:set ts=2 sw=2 et:
  23. md5sums=('0fd61eb590ac1bab62a77913c8b086a5')