Files
meta-openembedded/meta-oe/recipes-support/zbar/zbar_git.bb
T
Khem Raj 87d77fd45e zbar: Switch to github and update to latest
License-Update: Year changed [1]

There has been releases after 0.10 and carries fixes that helps
compiling with newer compilers

Disable Werror, since newer compilers detect more warnings

[1] https://github.com/ZBar/ZBar/commit/d08189db4c4f86d1e0addd51db3142ec5b40f98c

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-13 18:34:32 -08:00

32 lines
834 B
BlitzBasic

DESRIPTION = "2D barcode scanner toolkit."
SECTION = "graphics"
LICENSE = "LGPL-2.1"
DEPENDS = "pkgconfig intltool-native libpng jpeg"
LIC_FILES_CHKSUM = "file://COPYING;md5=4015840237ca7f0175cd626f78714ca8"
PV = "0.10+git${SRCPV}"
# iPhoneSDK-1.3.1 tag
SRCREV = "67003d2a985b5f9627bee2d8e3e0b26d0c474b57"
SRC_URI = "git://github.com/ZBar/Zbar \
file://0001-make-relies-GNU-extentions.patch \
"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG[x11] = "--with-x,-without-x,libxcb libx11 libsm libxau libxext libxv libice libxdmcp"
EXTRA_OECONF = "--without-imagemagick --without-qt --without-python --disable-video --without-gtk"
CPPFLAGS += "-Wno-error"
do_install_append() {
#remove usr/bin if empty
rmdir ${D}${bindir}
}