diff options
Diffstat (limited to 'skip/zbar')
-rw-r--r-- | skip/zbar/zbar.xibuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/skip/zbar/zbar.xibuild b/skip/zbar/zbar.xibuild new file mode 100644 index 0000000..ecd3c94 --- /dev/null +++ b/skip/zbar/zbar.xibuild @@ -0,0 +1,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 +} + |