[arch-commits] Commit in zbar/repos (6 files)

Antonio Rojas arojas at archlinux.org
Wed Feb 8 10:39:18 UTC 2017


    Date: Wednesday, February 8, 2017 @ 10:39:17
  Author: arojas
Revision: 211213

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  zbar/repos/community-staging-i686/
  zbar/repos/community-staging-i686/PKGBUILD
    (from rev 211212, zbar/trunk/PKGBUILD)
  zbar/repos/community-staging-i686/v4l1.patch
    (from rev 211212, zbar/trunk/v4l1.patch)
  zbar/repos/community-staging-x86_64/
  zbar/repos/community-staging-x86_64/PKGBUILD
    (from rev 211212, zbar/trunk/PKGBUILD)
  zbar/repos/community-staging-x86_64/v4l1.patch
    (from rev 211212, zbar/trunk/v4l1.patch)

-------------------------------------+
 community-staging-i686/PKGBUILD     |   39 ++++++++++++++++++++++++++++++++++
 community-staging-i686/v4l1.patch   |   24 ++++++++++++++++++++
 community-staging-x86_64/PKGBUILD   |   39 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/v4l1.patch |   24 ++++++++++++++++++++
 4 files changed, 126 insertions(+)

Copied: zbar/repos/community-staging-i686/PKGBUILD (from rev 211212, zbar/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-08 10:39:17 UTC (rev 211213)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+# Contributor: Radu Andries <admiral0 at tuxfamily.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=zbar
+pkgver=0.10
+pkgrel=9
+pkgdesc="Application and library for reading bar codes from various sources"
+arch=('i686' 'x86_64')
+url="http://zbar.sourceforge.net/"
+license=('LGPL')
+depends=('imagemagick' 'libxv' 'python2' 'gtk2' 'qt4' 'pygtk' 'v4l-utils')
+conflicts=('zbar-gtk' 'zbar-qt')
+provides=("zbar-gtk=$pkgver" "zbar-qt=$pkgver")
+source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2"
+        v4l1.patch)
+md5sums=('0fd61eb590ac1bab62a77913c8b086a5'
+         '284f11ca2a5e009744c4a1b9e92d6953')
+
+prepare() {
+  cd zbar-$pkgver
+  patch -p1 -i ../v4l1.patch
+}
+
+build() {
+  cd zbar-$pkgver
+
+  ./configure --prefix=/usr --with-qt --with-gtk CFLAGS="$CFLAGS -DNDEBUG"
+  make
+}
+
+package() {
+  cd zbar-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: zbar/repos/community-staging-i686/v4l1.patch (from rev 211212, zbar/trunk/v4l1.patch)
===================================================================
--- community-staging-i686/v4l1.patch	                        (rev 0)
+++ community-staging-i686/v4l1.patch	2017-02-08 10:39:17 UTC (rev 211213)
@@ -0,0 +1,24 @@
+Thanks to Andy Weidenbaum <archbaum at gmail.com> for providing this patch!
+
+--- ./zbar/video/v4l1.c	2013-03-06 23:24:22.996336417 -0800
++++ ./zbar/video/v4l1.c	2013-03-06 23:29:29.789662369 -0800
+@@ -41,7 +41,7 @@
+ #ifdef HAVE_SYS_MMAN_H
+ # include <sys/mman.h>
+ #endif
+-#include <linux/videodev.h>
++#include <libv4l1-videodev.h>
+ 
+ #include "video.h"
+ #include "image.h"
+--- ./configure	2009-10-23 11:17:24.000000000 -0700
++++ ./configure	2013-03-06 23:47:33.902966990 -0800
+@@ -18709,7 +18709,7 @@
+ if test "x$enable_video" != "xno"; then
+   if test "x$win32" = "xno"; then
+ 
+-for ac_header in linux/videodev.h
++for ac_header in libv4l1-videodev.h
+ do
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then

Copied: zbar/repos/community-staging-x86_64/PKGBUILD (from rev 211212, zbar/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-08 10:39:17 UTC (rev 211213)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+# Contributor: Radu Andries <admiral0 at tuxfamily.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=zbar
+pkgver=0.10
+pkgrel=9
+pkgdesc="Application and library for reading bar codes from various sources"
+arch=('i686' 'x86_64')
+url="http://zbar.sourceforge.net/"
+license=('LGPL')
+depends=('imagemagick' 'libxv' 'python2' 'gtk2' 'qt4' 'pygtk' 'v4l-utils')
+conflicts=('zbar-gtk' 'zbar-qt')
+provides=("zbar-gtk=$pkgver" "zbar-qt=$pkgver")
+source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2"
+        v4l1.patch)
+md5sums=('0fd61eb590ac1bab62a77913c8b086a5'
+         '284f11ca2a5e009744c4a1b9e92d6953')
+
+prepare() {
+  cd zbar-$pkgver
+  patch -p1 -i ../v4l1.patch
+}
+
+build() {
+  cd zbar-$pkgver
+
+  ./configure --prefix=/usr --with-qt --with-gtk CFLAGS="$CFLAGS -DNDEBUG"
+  make
+}
+
+package() {
+  cd zbar-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: zbar/repos/community-staging-x86_64/v4l1.patch (from rev 211212, zbar/trunk/v4l1.patch)
===================================================================
--- community-staging-x86_64/v4l1.patch	                        (rev 0)
+++ community-staging-x86_64/v4l1.patch	2017-02-08 10:39:17 UTC (rev 211213)
@@ -0,0 +1,24 @@
+Thanks to Andy Weidenbaum <archbaum at gmail.com> for providing this patch!
+
+--- ./zbar/video/v4l1.c	2013-03-06 23:24:22.996336417 -0800
++++ ./zbar/video/v4l1.c	2013-03-06 23:29:29.789662369 -0800
+@@ -41,7 +41,7 @@
+ #ifdef HAVE_SYS_MMAN_H
+ # include <sys/mman.h>
+ #endif
+-#include <linux/videodev.h>
++#include <libv4l1-videodev.h>
+ 
+ #include "video.h"
+ #include "image.h"
+--- ./configure	2009-10-23 11:17:24.000000000 -0700
++++ ./configure	2013-03-06 23:47:33.902966990 -0800
+@@ -18709,7 +18709,7 @@
+ if test "x$enable_video" != "xno"; then
+   if test "x$win32" = "xno"; then
+ 
+-for ac_header in linux/videodev.h
++for ac_header in libv4l1-videodev.h
+ do
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then



More information about the arch-commits mailing list