Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | DESRIPTION = "2D barcode scanner toolkit." |
| 2 | SECTION = "graphics" |
| 3 | LICENSE = "LGPL-2.1" |
| 4 | |
| 5 | DEPENDS = "pkgconfig intltool-native libpng jpeg" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=42bafded1b380c6fefbeb6c5cd5448d9" |
| 8 | |
| 9 | SRC_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 | |
| 14 | SRC_URI[md5sum] = "0fd61eb590ac1bab62a77913c8b086a5" |
| 15 | SRC_URI[sha256sum] = "234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6" |
| 16 | |
| 17 | inherit autotools pkgconfig |
| 18 | |
| 19 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
| 20 | |
| 21 | PACKAGECONFIG[x11] = "--with-x,-without-x,libxcb libx11 libsm libxau libxext libxv libice libxdmcp" |
| 22 | |
| 23 | EXTRA_OECONF = " --without-imagemagick --without-qt --without-python --disable-video --without-gtk" |
| 24 | |
| 25 | do_install_append() { |
| 26 | #remove usr/bin if empty |
| 27 | rmdir ${D}${bindir} |
| 28 | } |