diff options
author | davidovski <david@davidovski.xyz> | 2022-06-06 21:25:48 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-06 21:25:48 +0000 |
commit | ccc722b7ed330198d82a3cf28ead76d6d107a70a (patch) | |
tree | 7611b3cc4f3ca681524fa28b174a0253eb802e0e /skip/zbar/zbar.xibuild | |
parent | 9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff) |
added java
Diffstat (limited to 'skip/zbar/zbar.xibuild')
-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 +} + |