New package: zbar-0.10
This commit is contained in:
parent
aa1c2df8c2
commit
16abf7e150
5 changed files with 64 additions and 0 deletions
|
@ -2795,6 +2795,9 @@ libgeoclue-2.so.0 geoclue2-2.4.4_1
|
|||
libgepub.so.0 libgepub-0.4_1
|
||||
libslopy.so.0.1.0 slop-5.3.37_1
|
||||
libbcunit.so.1 bcunit-3.0_1
|
||||
libzbar.so.0 libzbar-0.10_1
|
||||
libzbargtk.so.0 libzbar-0.10_1
|
||||
libzbarqt.so.0 libzbar-0.10_1
|
||||
libomxil-bellagio.so.0 libomxil-bellagio-0.9.3_1
|
||||
libomxdynamicloader.so.0 libomxil-bellagio-0.9.3_1
|
||||
libomxaudio_effects.so.0 libomxil-bellagio-0.9.3_1
|
||||
|
|
1
srcpkgs/libzbar
Symbolic link
1
srcpkgs/libzbar
Symbolic link
|
@ -0,0 +1 @@
|
|||
zbar
|
1
srcpkgs/libzbar-devel
Symbolic link
1
srcpkgs/libzbar-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
zbar
|
24
srcpkgs/zbar/patches/v4l1.patch
Normal file
24
srcpkgs/zbar/patches/v4l1.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
Thanks to Andy Weidenbaum <archbaum@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
|
35
srcpkgs/zbar/template
Normal file
35
srcpkgs/zbar/template
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Template file for 'zbar'
|
||||
pkgname=zbar
|
||||
version=0.10
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-qt --with-gtk"
|
||||
hostmakedepends="pkg-config qt-qmake qt-host-tools glib-devel"
|
||||
makedepends="libmagick-devel libXv-devel pygtk-devel qt-devel v4l-utils-devel"
|
||||
short_desc="A barcode reading library and application"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="LGPL-2"
|
||||
homepage="https://zbar.sourceforge.net/"
|
||||
distfiles="$SOURCEFORGE_SITE/zbar/${version}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6
|
||||
depends="libzbar-${version}_${revision}"
|
||||
|
||||
CFLAGS="-DNDEBUG"
|
||||
|
||||
libzbar_package() {
|
||||
short_desc+=" - library files"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libzbar-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="libzbar>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue