aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-06-13 02:05:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-06-13 02:11:39 -0300
commite632dbdd52ad5fec9a4c1a6c33be8963549afb0a (patch)
tree1888049df076824d62cc86f7ec8f991e6266b536
parent7dbfc2ea71f2b99d34bb3f0fa6eb3c75e3266505 (diff)
downloadaports-e632dbdd52ad5fec9a4c1a6c33be8963549afb0a.tar.gz
aports-e632dbdd52ad5fec9a4c1a6c33be8963549afb0a.tar.bz2
aports-e632dbdd52ad5fec9a4c1a6c33be8963549afb0a.tar.xz
community/zbar: upgrade to 0.23.1
- Enable GIR - Switch to GTK+3.0
-rw-r--r--community/zbar/APKBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/zbar/APKBUILD b/community/zbar/APKBUILD
index 2a991568be..40b8614e93 100644
--- a/community/zbar/APKBUILD
+++ b/community/zbar/APKBUILD
@@ -2,15 +2,16 @@
# Contributor: Diego Queiroz <diego.queiroz@gmail.com>
# Maintainer: Diego Queiroz <diego.queiroz@gmail.com>
pkgname=zbar
-pkgver=0.23
-pkgrel=2
+pkgver=0.23.1
+pkgrel=0
pkgdesc="Port of ZBAR BAR CODE READER"
url="http://zbar.sourceforge.net/"
arch="all"
license="LGPL-2.0-or-later"
depends="py3-gobject3"
-makedepends="imagemagick-dev gtk+-dev qt5-qtx11extras-dev lcms2-dev
- automake autoconf libtool xmlto docbook-xsl libxv-dev python3-dev"
+makedepends="imagemagick-dev gtk+3.0-dev qt5-qtx11extras-dev lcms2-dev
+ automake autoconf libtool xmlto docbook-xsl libxv-dev python3-dev
+ gettext-dev gobject-introspection-dev"
subpackages="
$pkgname-dev
$pkgname-doc
@@ -29,7 +30,15 @@ prepare() {
}
build() {
- ./configure --prefix=/usr --disable-video --with-python=python3
+ LDFLAGS="$LDFLAGS -lintl" \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-video \
+ --with-python=python3 \
+ --with-gtk=gtk3 \
+ --with-gir
make
}
@@ -54,7 +63,7 @@ qtlibs() {
gtklibs() {
depends=""
- pkgdesc="$pkgdesc (Gtk+2 library)"
+ pkgdesc="$pkgdesc (Gtk+3 library)"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libzbargtk.so.* "$subpkgdir"/usr/lib
}
@@ -66,4 +75,4 @@ py() {
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib
}
-sha512sums="bc2667a2a5a5f2e9fd3f39e57bf1d7f860b20a0b5faffc38791d222a6ff0414aff880295ce5ccb92acce7250503f2a7f48ac12651cf82cfb1933b302da26e393 zbar-0.23.tar.gz"
+sha512sums="ae7741cf750a10cf53dc11abcd482c3885507153ee37f6e3364ed5ed72184ebb009560b8c40d8090603a551fb681700a962838a59ce77d005d080ee49fbfa54b zbar-0.23.1.tar.gz"