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

zbar-qt PKGBUILD

By: a guest on Jul 30th, 2011  |  syntax: Bash  |  size: 0.76 KB  |  views: 244  |  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?use_mirror=garr")
  12.  
  13. build() {
  14.   cd "$srcdir/zbar-$pkgver"
  15.  
  16.   sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' ${srcdir}/zbar-${pkgver}/{zbar/video/v4l1.c,include/config.h.in,configure.ac,configure}
  17.   ./configure --prefix=/usr --without-gtk --without-python
  18.   make || return 1
  19.   make DESTDIR="$pkgdir/" install
  20. }
  21.  
  22. # vim:set ts=2 sw=2 et:
  23. md5sums=('0fd61eb590ac1bab62a77913c8b086a5')