blob: 6b6e501114f289f90593dc106cd7891ac123b50b [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001DESRIPTION = "2D barcode scanner toolkit."
2SECTION = "graphics"
3LICENSE = "LGPL-2.1"
4
5DEPENDS = "pkgconfig intltool-native libpng jpeg"
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=42bafded1b380c6fefbeb6c5cd5448d9"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.bz2 \
10 file://0001-undefine-__va_arg_pack.patch \
11 file://0001-make-relies-GNU-extentions.patch \
12"
13
14SRC_URI[md5sum] = "0fd61eb590ac1bab62a77913c8b086a5"
15SRC_URI[sha256sum] = "234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6"
16
17inherit autotools pkgconfig
18
19PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
20
21PACKAGECONFIG[x11] = "--with-x,-without-x,libxcb libx11 libsm libxau libxext libxv libice libxdmcp"
22
23EXTRA_OECONF = " --without-imagemagick --without-qt --without-python --disable-video --without-gtk"
24
25do_install_append() {
26 #remove usr/bin if empty
27 rmdir ${D}${bindir}
28}