summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/zbar/zbar_0.10.bb
diff options
context:
space:
mode:
authorDaniel Gomez <daniel@qtec.com>2021-01-21 21:44:51 +0100
committerKhem Raj <raj.khem@gmail.com>2021-01-21 13:41:58 -0800
commitf24914a843973d760ce5b19ad746295f920199e1 (patch)
tree1702ed7201cce74534694dd172c31e3ab77cb120 /meta-oe/recipes-support/zbar/zbar_0.10.bb
parent1c2b1b919ca45bed16dc6b2bc96d7ce787bf0fa9 (diff)
downloadmeta-openembedded-f24914a843973d760ce5b19ad746295f920199e1.tar.gz
zbar: Add support for mchehab/zbar
ZBar project development stopped in 2012 but it was forked and maintained by Mauro Carvalho Chehab to keep it up to date with V4L2 api. Main repository: https://github.com/mchehab/zbar Add support for zbar library mantained by mchehab. Use latest version available 0.23.1. Compile by default with options: video & python3. As ZBar (original project) and mchehab/zbar (new & updated) are different, keep both recipes as: - zbar_0.10.bb: ZBar version 0.10 - zbar_git.bb: mchehab/zbar Version 0.23.1 Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/zbar/zbar_0.10.bb')
-rw-r--r--meta-oe/recipes-support/zbar/zbar_0.10.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/zbar/zbar_0.10.bb b/meta-oe/recipes-support/zbar/zbar_0.10.bb
new file mode 100644
index 0000000000..181d7ae43c
--- /dev/null
+++ b/meta-oe/recipes-support/zbar/zbar_0.10.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "2D barcode scanner toolkit."
2SECTION = "graphics"
3LICENSE = "LGPL-2.1"
4
5DEPENDS = "pkgconfig intltool-native libpng jpeg"
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=4015840237ca7f0175cd626f78714ca8"
8
9PV = "0.10+git${SRCPV}"
10
11# iPhoneSDK-1.3.1 tag
12SRCREV = "67003d2a985b5f9627bee2d8e3e0b26d0c474b57"
13SRC_URI = "git://github.com/ZBar/Zbar \
14 file://0001-make-relies-GNU-extentions.patch \
15"
16S = "${WORKDIR}/git"
17
18inherit autotools pkgconfig
19
20PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
21
22PACKAGECONFIG[x11] = "--with-x,-without-x,libxcb libx11 libsm libxau libxext libxv libice libxdmcp"
23
24EXTRA_OECONF = "--without-imagemagick --without-qt --without-python --disable-video --without-gtk"
25
26CPPFLAGS += "-Wno-error"
27
28do_install_append() {
29 #remove usr/bin if empty
30 rmdir ${D}${bindir}
31}