summaryrefslogtreecommitdiff
path: root/skip/zbar/zbar.xibuild
blob: ecd3c94d2f41edd975b6b81a0e2b1230e204ad64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

NAME="zbar"
DESC="Port of ZBAR BAR CODE READER"

MAKEDEPS=" imagemagick gtk3 qt5-qtx11extras lcms2 automake autoconf libtool xmlto docbook-xsl libxv python3 gettext gobject-introspection"

PKG_VER=0.23.90
SOURCE="
	https://github.com/mchehab/zbar/archive/$PKG_VER.tar.gz
    "

prepare () {
    autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--disable-video \
		--with-python=python3 \
		--with-gtk=gtk3 \
		--with-gir \
		--with-dbusconfdir=/usr/share
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
	rm -rf "$PKG_DEST"/usr/lib/*.a
}