mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
zbar-headless: Import; zbar version without GTK and Qt libraries
This commit is contained in:
commit
63aefa8e49
2 changed files with 47 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pkgbase = zbar-headless
|
||||
pkgdesc = Application and library for reading bar codes from various sources (headless version)
|
||||
pkgver = 0.10
|
||||
pkgrel = 1
|
||||
url = http://zbar.sourceforge.net/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = LGPL
|
||||
depends = imagemagick
|
||||
depends = python2
|
||||
provides = zbar=0.10
|
||||
conflicts = zbar-gtk
|
||||
conflicts = zbar-qt
|
||||
conflicts = zbar
|
||||
source = http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2
|
||||
md5sums = 0fd61eb590ac1bab62a77913c8b086a5
|
||||
|
||||
pkgname = zbar-headless
|
||||
|
||||
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Marti Raudsepp <marti@juffo.org>
|
||||
# Contributor: Radu Andries <admiral0@tuxfamily.org>
|
||||
|
||||
pkgname=zbar-headless
|
||||
pkgver=0.10
|
||||
pkgrel=1
|
||||
pkgdesc="Application and library for reading bar codes from various sources (headless version)"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://zbar.sourceforge.net/"
|
||||
license=('LGPL')
|
||||
depends=('imagemagick' 'python2')
|
||||
conflicts=('zbar-gtk' 'zbar-qt' 'zbar')
|
||||
provides=("zbar=$pkgver")
|
||||
source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2")
|
||||
|
||||
build() {
|
||||
cd "$srcdir/zbar-$pkgver"
|
||||
# Video disabled: package requires the now-deprecated video4linux version 1
|
||||
./configure --prefix=/usr --without-qt --without-gtk --disable-video CFLAGS=-DNDEBUG
|
||||
make
|
||||
}
|
||||
package() {
|
||||
cd "$srcdir/zbar-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
md5sums=('0fd61eb590ac1bab62a77913c8b086a5')
|
||||
Loading…
Add table
Reference in a new issue