diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-12-14 18:09:37 -0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-26 08:23:22 +0100 |
| commit | 097626066617b8f7cb48d0fb866b0dee729f552e (patch) | |
| tree | cf96abfe38dc8d67bc021c63ef6202cad20a62df /meta-oe/recipes-support/zbar/zbar_0.10.bb | |
| parent | 6e6cbf1ab1980fcff5b10172b9a64b9ea0a70fca (diff) | |
| download | meta-openembedded-097626066617b8f7cb48d0fb866b0dee729f552e.tar.gz | |
zbar: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@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.bb | 28 |
1 files changed, 28 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..77733aae47 --- /dev/null +++ b/meta-oe/recipes-support/zbar/zbar_0.10.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 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.contains("DISTRO_FEATURES", "x11", "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 | } | ||
