aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/zbar/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/testing/zbar/APKBUILD b/testing/zbar/APKBUILD
index 5c47f3b53b..6a65cb0588 100644
--- a/testing/zbar/APKBUILD
+++ b/testing/zbar/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Diego Queiroz <diego.queiroz@gmail.com>
pkgname=zbar
pkgver=0.10
-pkgrel=1
+pkgrel=2
pkgdesc="Port of ZBAR BAR CODE READER"
url="http://zbar.sourceforge.net/"
arch="all !aarch64"
@@ -11,9 +11,16 @@ depends="py-gobject"
makedepends="imagemagick-dev gtk+-dev py-gtk-dev qt-dev libtool lcms2-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="https://sourceforge.net/projects/zbar/files/zbar/$pkgver/zbar-$pkgver.tar.bz2"
+source="https://sourceforge.net/projects/zbar/files/zbar/$pkgver/zbar-$pkgver.tar.bz2
+ magickwand.patch
+ "
builddir="$srcdir"/zbar-$pkgver
+prepare() {
+ default_prepare
+ autoconf
+}
+
build() {
cd "$builddir"
./configure --prefix=/usr --disable-video || return 1
@@ -26,6 +33,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-md5sums="0fd61eb590ac1bab62a77913c8b086a5 zbar-0.10.tar.bz2"
-sha256sums="234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6 zbar-0.10.tar.bz2"
-sha512sums="76cb8a469e3ac9ea7932a95c500cf933501249cdb8dce4df558bf5681bd44c62111327b494e6e887079a5fd30b32154887dcc12962e6d27b1453f55457483db4 zbar-0.10.tar.bz2"
+sha512sums="76cb8a469e3ac9ea7932a95c500cf933501249cdb8dce4df558bf5681bd44c62111327b494e6e887079a5fd30b32154887dcc12962e6d27b1453f55457483db4 zbar-0.10.tar.bz2
+d134c4d44364638250e31d8acf45dc87624bf84005ede95859712e97fa14f7f43347ad488357e48c27c1dd69dacbb454c8dab6a3cd28e4c4c8952f4b950e72f7 magickwand.patch"